Deselect callsign on Log QSO
This commit is contained in:
parent
04e3dc9c3e
commit
3a139fc87a
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user