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
This commit is contained in:
fieldOfView 2016-08-01 15:36:43 +02:00
parent 0c8d0a11a9
commit 1808c44d02

View file

@ -112,7 +112,7 @@ UM.ManagementPage
{
text: catalog.i18nc("@action:button", "Close")
iconName: "dialog-close"
onClicked: actionDialog.accept()
onClicked: actionDialog.reject()
}
}