mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Show Yes and No buttons in abort dialog
CURA-8980
This commit is contained in:
parent
50bf87a41d
commit
a4f1907b12
1 changed files with 2 additions and 2 deletions
|
@ -316,7 +316,7 @@ Item
|
||||||
height: UM.Theme.getSize("save_button_save_to_button").height
|
height: UM.Theme.getSize("save_button_save_to_button").height
|
||||||
|
|
||||||
text: catalog.i18nc("@label", "Abort Print")
|
text: catalog.i18nc("@label", "Abort Print")
|
||||||
onClicked: confirmationDialog.visible = true
|
onClicked: confirmationDialog.open()
|
||||||
}
|
}
|
||||||
|
|
||||||
Cura.MessageDialog
|
Cura.MessageDialog
|
||||||
|
@ -325,7 +325,7 @@ Item
|
||||||
|
|
||||||
title: catalog.i18nc("@window:title", "Abort print")
|
title: catalog.i18nc("@window:title", "Abort print")
|
||||||
text: catalog.i18nc("@label", "Are you sure you want to abort the print?")
|
text: catalog.i18nc("@label", "Are you sure you want to abort the print?")
|
||||||
standardButtons: Dialog.Yes | Dialog.No
|
standardButtons: Cura.MessageDialog.Yes | Cura.MessageDialog.No
|
||||||
onAccepted: activePrintJob.setState("abort")
|
onAccepted: activePrintJob.setState("abort")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue