mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Actually adding a new machine is now possible
CURA-1278
This commit is contained in:
parent
170df747b3
commit
162295da8e
1 changed files with 13 additions and 0 deletions
|
@ -152,6 +152,19 @@ UM.Dialog
|
|||
anchors.bottom:parent.bottom
|
||||
}
|
||||
|
||||
Button
|
||||
{
|
||||
text:"save"
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.right: parent.right
|
||||
onClicked:
|
||||
{
|
||||
base.visible = false
|
||||
var item = machineList.model.getItem(machineList.currentIndex);
|
||||
machineList.model.setNewGlobalStackFromDefinition(machineName.text, item.id)
|
||||
}
|
||||
}
|
||||
|
||||
Item
|
||||
{
|
||||
UM.I18nCatalog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue