diff options
author | casper <c.lamboo@ultimaker.com> | 2022-03-21 12:23:05 +0300 |
---|---|---|
committer | casper <c.lamboo@ultimaker.com> | 2022-03-21 12:23:05 +0300 |
commit | a4f1907b12cb85983b8560ccbd3f36a8bfe86281 (patch) | |
tree | 127575234dbfec69305929d0a82a1111130e8a24 | |
parent | 50bf87a41d0796d0c31884ac12221472ed8c002b (diff) |
Show Yes and No buttons in abort dialog
CURA-8980
-rw-r--r-- | resources/qml/MonitorButton.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/MonitorButton.qml b/resources/qml/MonitorButton.qml index 7e9219a7dc..a9ad8e811e 100644 --- a/resources/qml/MonitorButton.qml +++ b/resources/qml/MonitorButton.qml @@ -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") } } |