mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 16:27:51 -06:00
Rename function name and fix tests
CURA-6597
This commit is contained in:
parent
f086c1eb11
commit
8863516aa4
3 changed files with 13 additions and 13 deletions
|
@ -53,7 +53,7 @@ class IntentModel(ListModel):
|
|||
return
|
||||
quality_groups = quality_manager.getQualityGroups(global_stack)
|
||||
|
||||
for intent_category, quality_type in IntentManager.getInstance().currentAvailableIntents():
|
||||
for intent_category, quality_type in IntentManager.getInstance().getCurrentAvailableIntents():
|
||||
if intent_category == self._intent_category:
|
||||
new_items.append({"name": quality_groups[quality_type].name, "quality_type": quality_type})
|
||||
if self._intent_category == "default": #For Default we always list all quality types. We can't filter on available profiles since the empty intent is not a specific quality type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue