mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Merge branch '3.0'
This commit is contained in:
commit
fded206cc3
4 changed files with 19 additions and 10 deletions
|
@ -217,7 +217,8 @@ UM.Dialog
|
|||
{
|
||||
base.visible = false
|
||||
var item = machineList.model.getItem(machineList.currentIndex);
|
||||
Cura.MachineManager.addMachine(machineName.text, item.id)
|
||||
var defaultName = (item != undefined) ? item.name : ""
|
||||
Cura.MachineManager.addMachine(machineName.text, item.id, defaultName)
|
||||
base.machineAdded(item.id) // Emit signal that the user added a machine.
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue