mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06:00
CURA-4870 Add the ability in Cura to switch between different types of
printers. Create a new container stack if it doesn't exist with the same network connection key.
This commit is contained in:
parent
b212781a19
commit
4be4d08d97
2 changed files with 39 additions and 16 deletions
|
@ -23,10 +23,10 @@ Menu
|
|||
checkable: true
|
||||
checked: Cura.MachineManager.activeMachineDefinitionName == modelData.machine_type
|
||||
exclusiveGroup: group
|
||||
// onTriggered:
|
||||
// {
|
||||
// TODO
|
||||
// }
|
||||
onTriggered:
|
||||
{
|
||||
Cura.MachineManager.switchPrinterType(modelData.machine_type)
|
||||
}
|
||||
}
|
||||
onObjectAdded: menu.insertItem(index, object)
|
||||
onObjectRemoved: menu.removeItem(object)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue