mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06: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
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue