mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
CURA-4606 cleanup and optimization for replaceContainer
This commit is contained in:
parent
bf2317a74d
commit
8aab8f4394
6 changed files with 8 additions and 23 deletions
|
@ -19,7 +19,7 @@ Menu
|
|||
{
|
||||
text: (model.layer_height != "") ? model.name + " - " + model.layer_height : model.name
|
||||
checkable: true
|
||||
checked: Cura.MachineManager.activeQualityGroup.getName() == model.name
|
||||
checked: Cura.MachineManager.activeQualityGroup && (Cura.MachineManager.activeQualityGroup.getName() == model.name)
|
||||
exclusiveGroup: group
|
||||
onTriggered: {
|
||||
Cura.MachineManager.setQualityGroup(model.quality_group)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue