diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index 8f7e0e8d..f93a22ea 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -109,8 +109,9 @@ Window { text: qsTr("Ok") KeyNavigation.tab: cancelButton onClicked: { - root.accepted() root.close() + root.accepted() + } } @@ -125,8 +126,8 @@ Window { text: qsTr("Cancel") KeyNavigation.tab: passwordInput onClicked: { - root.rejected() root.close() + root.rejected() } } }