mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Moved addMachine to machineManager
CURA-1278
This commit is contained in:
parent
a16acddff1
commit
44f5559db3
2 changed files with 13 additions and 1 deletions
|
@ -161,7 +161,7 @@ UM.Dialog
|
|||
{
|
||||
base.visible = false
|
||||
var item = machineList.model.getItem(machineList.currentIndex);
|
||||
machineList.model.setNewGlobalStackFromDefinition(machineName.text, item.id)
|
||||
Cura.MachineManager.addMachine(machineName.text, item.id)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue