diff --git a/mainwindow.cpp b/mainwindow.cpp index d445b6e..c9d5ca9 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -6739,6 +6739,8 @@ void MainWindow::acceptQSO (QDateTime const& QSO_date_off, QString const& call, {"STATION.GRID", QVariant(my_grid)} }); + clearCallsignSelected(); + if (m_config.clear_DX () and !m_config.bHound()) clearDX (); m_dateTimeQSOOn = QDateTime {}; } @@ -8846,6 +8848,11 @@ QString MainWindow::callsignSelected(){ return QString(); } +void MainWindow::clearCallsignSelected(){ + ui->tableWidgetCalls->clearSelection(); + ui->tableWidgetRXAll->clearSelection(); +} + bool MainWindow::isRecentOffset(int offset){ if(abs(offset - currentFreqOffset()) <= 10){ return true; diff --git a/mainwindow.h b/mainwindow.h index 61ac253..0f13d89 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -859,6 +859,7 @@ private: bool isMyCallIncluded(QString const &text); bool isAllCallIncluded(QString const &text); QString callsignSelected(); + void clearCallsignSelected(); bool isRecentOffset(int offset); void markOffsetRecent(int offset); bool isDirectedOffset(int offset, bool *pIsAllCall);