Actually adding a new machine is now possible

CURA-1278
This commit is contained in:
Jaime van Kessel 2016-05-10 13:31:26 +02:00
parent 170df747b3
commit 162295da8e

View file

@ -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