mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Fix the variants menu so the variants actually get added
Contributes to CURA-24
This commit is contained in:
parent
3b5664f250
commit
d2ed9bc74f
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,8 @@ Item{
|
||||||
exclusiveGroup: variantSelectionMenuGroup;
|
exclusiveGroup: variantSelectionMenuGroup;
|
||||||
onTriggered: UM.MachineManager.setActiveMachineVariant(model.getItem(index).name)
|
onTriggered: UM.MachineManager.setActiveMachineVariant(model.getItem(index).name)
|
||||||
}
|
}
|
||||||
|
onObjectAdded: variantsSelectionMenu.insertItem(index, object)
|
||||||
|
onObjectRemoved: variantsSelectionMenu.removeItem(object)
|
||||||
}
|
}
|
||||||
|
|
||||||
ExclusiveGroup { id: variantSelectionMenuGroup; }
|
ExclusiveGroup { id: variantSelectionMenuGroup; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue