mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -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
|
||||
|
||||
text: catalog.i18nc("@label", "Abort Print")
|
||||
onClicked: confirmationDialog.visible = true
|
||||
onClicked: confirmationDialog.open()
|
||||
}
|
||||
|
||||
Cura.MessageDialog
|
||||
|
@ -325,7 +325,7 @@ Item
|
|||
|
||||
title: catalog.i18nc("@window:title", "Abort 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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue