Ensure that enabling & disabling an extruder gets handled correctly

CURA-6775
This commit is contained in:
Jaime van Kessel 2019-09-19 14:54:58 +02:00
parent 3730ea247d
commit 3e474c1107
No known key found for this signature in database
GPG key ID: 3710727397403C91
2 changed files with 5 additions and 0 deletions

View file

@ -1289,6 +1289,8 @@ class MachineManager(QObject):
category = "default"
for extruder in global_stack.extruderList:
if not extruder.isEnabled:
continue
current_category = extruder.intent.getMetaDataEntry("intent_category", "default")
if current_category != "default" and current_category != category:
category = current_category