mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 01:25:51 +08:00
Actually adding a new machine is now possible
CURA-1278
This commit is contained in:
parent
170df747b3
commit
162295da8e
@ -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…
x
Reference in New Issue
Block a user