From 87a4d617898fc4138d04f29b7dce18ceeb003c6c Mon Sep 17 00:00:00 2001 From: Zephyron Date: Sat, 22 Nov 2025 16:13:10 +1000 Subject: [PATCH] Make updater dialog non-modal Force the updater dialog to be non-modal so users can continue using the application while checking for or downloading updates. This improves user experience by not blocking interaction with the main window. The dialog is explicitly set to non-modal in the constructor, overriding any setting from the UI file. Signed-off-by: Zephyron --- src/citron/updater/updater_dialog.cpp | 3 +++ src/citron/updater/updater_dialog.ui | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/citron/updater/updater_dialog.cpp b/src/citron/updater/updater_dialog.cpp index 5ccd4bf19..3f3421c3f 100644 --- a/src/citron/updater/updater_dialog.cpp +++ b/src/citron/updater/updater_dialog.cpp @@ -48,6 +48,9 @@ UpdaterDialog::UpdaterDialog(QWidget* parent) ui->setupUi(this); + // Force the dialog to be non-modal, overriding any setting from the .ui file. + setModal(false); + // Disable the default link handling behavior of the QTextBrowser. ui->changelogText->setOpenLinks(false); diff --git a/src/citron/updater/updater_dialog.ui b/src/citron/updater/updater_dialog.ui index d9368388e..1f750ca39 100644 --- a/src/citron/updater/updater_dialog.ui +++ b/src/citron/updater/updater_dialog.ui @@ -18,7 +18,7 @@ :/icons/default/citron.ico:/icons/default/citron.ico - true + false