diff options
| author | Christoph Berg <myon@debian.org> | 2022-08-08 23:08:17 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2022-08-08 23:08:17 +0200 |
| commit | 43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (patch) | |
| tree | fac973fdc7378510849f4d749cd311176c023ebb /widgets/logqso.cpp | |
| parent | d47341d71ff3df889c1180eb7bfb4fc0272eb26b (diff) | |
New upstream version 2.6.0~rc2+repackupstream/2.6.0_rc2+repack
Diffstat (limited to 'widgets/logqso.cpp')
| -rwxr-xr-x | widgets/logqso.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/widgets/logqso.cpp b/widgets/logqso.cpp index f4927449..e87a8852 100755 --- a/widgets/logqso.cpp +++ b/widgets/logqso.cpp @@ -5,6 +5,7 @@ #include <QSettings> #include <QStandardPaths> #include <QDir> +#include <QPushButton> #include "logbook/logbook.h" #include "MessageBox.hpp" @@ -109,6 +110,15 @@ void LogQSO::initLogQSO(QString const& hisCall, QString const& hisGrid, QString Radio::Frequency dialFreq, bool noSuffix, QString xSent, QString xRcvd) { if(!isHidden()) return; + + QPushButton* okBtn = ui->buttonBox->button(QDialogButtonBox::Ok); + okBtn->setAutoDefault(true); + okBtn->setDefault(true); + okBtn->setFocus(); + QPushButton* caBtn = ui->buttonBox->button(QDialogButtonBox::Cancel); + caBtn->setAutoDefault(false); + caBtn->setDefault(false); + ui->call->setText (hisCall); ui->grid->setText (hisGrid); ui->name->clear (); |
