From c3237625bf2350662d60c0ef6b3f94dc95f00ff2 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Mon, 14 Nov 2022 21:41:51 +0100 Subject: [PATCH] Fix behavior on pressing "X" in advanced options dialog In the "advanced settings" dialog, if "X" instead of "apply settings" is clicked, it is seen as "cancel" and no settings are applied. If there do are saved settings, make sure to ask the user on pressing "write" if they do want the saved settings applied, instead of applying no settings. --- src/OptionsPopup.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/OptionsPopup.qml b/src/OptionsPopup.qml index fba57b0..2498ac2 100644 --- a/src/OptionsPopup.qml +++ b/src/OptionsPopup.qml @@ -59,6 +59,7 @@ Popup { anchors.fill: parent cursorShape: Qt.PointingHandCursor onClicked: { + initialized = false popup.close() } }