mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Prevent changing material / variant of disabled extruder
It is disabled, so changing it's material / variant doesn't make that much sense... CURA-6872
This commit is contained in:
parent
ec4817db87
commit
07a20e131a
3 changed files with 8 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ Menu
|
|||
return extruder.variant.name == model.hotend_name
|
||||
}
|
||||
exclusiveGroup: group
|
||||
|
||||
enabled: Cura.MachineManager.activeMachine.extruderList[extruderIndex].isEnabled
|
||||
onTriggered: {
|
||||
Cura.MachineManager.setVariant(menu.extruderIndex, model.container_node);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue