mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Pick quality changes group from quality changes groups, not quality groups
Oops. Probably went wrong when I copied over this code from some other place. Contributes to issue CURA-6600.
This commit is contained in:
parent
2d0a122c2d
commit
92d2686fed
1 changed files with 1 additions and 1 deletions
|
|
@ -1573,7 +1573,7 @@ class MachineManager(QObject):
|
||||||
global_stack = cura.CuraApplication.CuraApplication.getInstance().getGlobalContainerStack()
|
global_stack = cura.CuraApplication.CuraApplication.getInstance().getGlobalContainerStack()
|
||||||
if not global_stack or global_stack.qualityChanges == empty_quality_changes_container:
|
if not global_stack or global_stack.qualityChanges == empty_quality_changes_container:
|
||||||
return None
|
return None
|
||||||
for group in ContainerTree.getInstance().getCurrentQualityGroups(): # Match on the container ID of the global stack to find the quality changes group belonging to the active configuration.
|
for group in ContainerTree.getInstance().getCurrentQualityChangesGroups(): # Match on the container ID of the global stack to find the quality changes group belonging to the active configuration.
|
||||||
if group.metadata_for_global and group.metadata_for_global["id"] == global_stack.qualityChanges.getId():
|
if group.metadata_for_global and group.metadata_for_global["id"] == global_stack.qualityChanges.getId():
|
||||||
return group
|
return group
|
||||||
return None
|
return None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue