From 2c84a775f444300cad8911ceb8e742fe138b5f6d Mon Sep 17 00:00:00 2001 From: saturneric Date: Sat, 12 Apr 2025 12:33:06 +0200 Subject: fix: wrong ui dialog order after switching apps --- src/ui/dialog/help/AboutDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/dialog/help/AboutDialog.cpp') diff --git a/src/ui/dialog/help/AboutDialog.cpp b/src/ui/dialog/help/AboutDialog.cpp index cca89b9e..ea678a0e 100644 --- a/src/ui/dialog/help/AboutDialog.cpp +++ b/src/ui/dialog/help/AboutDialog.cpp @@ -76,9 +76,9 @@ AboutDialog::AboutDialog(const QString& default_tab_name, QWidget* parent) main_layout->setContentsMargins(QMargins{5, 0, 5, 0}); setLayout(main_layout); - this->resize(520, 620); - this->setMinimumWidth(450); this->show(); + this->raise(); + this->activateWindow(); } void AboutDialog::showEvent(QShowEvent* ev) { QDialog::showEvent(ev); } -- cgit v1.2.3