|
@@ -136,8 +136,9 @@ UM.ManagementPage
|
|
|
{
|
|
|
id: confirmDialog
|
|
|
object: base.currentItem && base.currentItem.name ? base.currentItem.name : ""
|
|
|
- text: base.currentItem ? base.currentItem.removalWarning : "";
|
|
|
- onYes:
|
|
|
+ text: base.currentItem ? base.currentItem.removalWarning : ""
|
|
|
+
|
|
|
+ onAccepted:
|
|
|
{
|
|
|
Cura.MachineManager.removeMachine(base.currentItem.id)
|
|
|
if(!base.currentItem)
|