mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Switch the order of name & id in addMachine call
This makes it possible for the name to not be set, in which case it will default to the name provided by the definition CURA-6179
This commit is contained in:
parent
889bc8a529
commit
5c354eb6a3
2 changed files with 8 additions and 2 deletions
|
@ -303,7 +303,7 @@ UM.Dialog
|
|||
{
|
||||
base.visible = false
|
||||
var item = machineList.model.getItem(machineList.currentIndex);
|
||||
Cura.MachineManager.addMachine(machineName.text, item.id)
|
||||
Cura.MachineManager.addMachine(item.id, machineName.text)
|
||||
base.machineAdded(item.id) // Emit signal that the user added a machine.
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue