diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-10-20 22:35:06 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-10-20 22:35:06 +0100 |
| commit | 82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch) | |
| tree | 1a1f782d3e576b758be0bc61171574a7cd8f2376 /widgets/logqso.cpp | |
| parent | 061658210acb6425517733ea012dda803a7f72a1 (diff) | |
| parent | 61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff) | |
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
Diffstat (limited to 'widgets/logqso.cpp')
| -rw-r--r-- | widgets/logqso.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/widgets/logqso.cpp b/widgets/logqso.cpp index 5a81f145..91f581c6 100644 --- a/widgets/logqso.cpp +++ b/widgets/logqso.cpp @@ -83,7 +83,7 @@ namespace LogQSO::LogQSO(QString const& programTitle, QSettings * settings , Configuration const * config, LogBook * log, QWidget *parent) - : QDialog {parent, Qt::WindowStaysOnTopHint | Qt::WindowTitleHint | Qt::WindowSystemMenuHint} + : QDialog {parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint} , ui(new Ui::LogQSO) , m_settings (settings) , m_config {config} @@ -218,7 +218,13 @@ void LogQSO::initLogQSO(QString const& hisCall, QString const& hisGrid, QString Radio::Frequency dialFreq, bool noSuffix, QString xSent, QString xRcvd) { - if(!isHidden()) return; + if (!isHidden ()) + { + if (isMinimized ()) showNormal (); + raise (); + activateWindow (); + return; + } QPushButton* okBtn = ui->buttonBox->button(QDialogButtonBox::Ok); okBtn->setAutoDefault(true); okBtn->setDefault(true); |
