From 317dad3b244bbaf0360ebf8a48de03f834d14032 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Mon, 2 Oct 2023 19:50:36 +0200 Subject: [PATCH] Apply settings if saved setting popup was opened and cancelled Make sure original saved settings are also applied if settings popup was opened and subsequently closed by pressing "X" instead of "Save" --- src/OptionsPopup.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/OptionsPopup.qml b/src/OptionsPopup.qml index 5539973..568d1cd 100644 --- a/src/OptionsPopup.qml +++ b/src/OptionsPopup.qml @@ -560,6 +560,10 @@ Window { function openPopup() { if (!initialized) { initialize() + if (imageWriter.hasSavedCustomizationSettings()) + { + applySettings() + } } //open()