From 1808c44d026082a9db5a3212c3fbe937fcd8edb8 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Mon, 1 Aug 2016 15:36:43 +0200 Subject: [PATCH] Change behavior of the "Close" button on a machineaction dialog Pressing close now "rejects" the action, similar to pressing "cancel" in the add machine wizard (instead of accepting, like pressing "ok"). CURA-2019 --- resources/qml/Preferences/MachinesPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/Preferences/MachinesPage.qml b/resources/qml/Preferences/MachinesPage.qml index e48448ae4c..0baa0c0f90 100644 --- a/resources/qml/Preferences/MachinesPage.qml +++ b/resources/qml/Preferences/MachinesPage.qml @@ -112,7 +112,7 @@ UM.ManagementPage { text: catalog.i18nc("@action:button", "Close") iconName: "dialog-close" - onClicked: actionDialog.accept() + onClicked: actionDialog.reject() } }