mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-27 04:41:06 -07:00
Update UM.ConfirmRemoveDialog
Cura 8687
This commit is contained in:
parent
2606a3b847
commit
7b8e73ae34
1 changed files with 3 additions and 2 deletions
|
|
@ -136,8 +136,9 @@ UM.ManagementPage
|
||||||
{
|
{
|
||||||
id: confirmDialog
|
id: confirmDialog
|
||||||
object: base.currentItem && base.currentItem.name ? base.currentItem.name : ""
|
object: base.currentItem && base.currentItem.name ? base.currentItem.name : ""
|
||||||
text: base.currentItem ? base.currentItem.removalWarning : "";
|
text: base.currentItem ? base.currentItem.removalWarning : ""
|
||||||
onYes:
|
|
||||||
|
onAccepted:
|
||||||
{
|
{
|
||||||
Cura.MachineManager.removeMachine(base.currentItem.id)
|
Cura.MachineManager.removeMachine(base.currentItem.id)
|
||||||
if(!base.currentItem)
|
if(!base.currentItem)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue