Skip to content

Commit

Permalink
NewContact: Starting QSO Timer when WSJTX Update Callsign Status is r…
Browse files Browse the repository at this point in the history
…eceived

It is possible to have a RIG connected and run WSJTX.
To prevent a QSY wipe when WSJTX's Fake Split Mode is enabled, QLog starts the QSO Timer
but only when the RIG is connected.
  • Loading branch information
foldynl committed Sep 27, 2024
1 parent 1f43dbe commit 6b64cda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ TBC - 0.39.0
- [CHANGED] - WSJTX - More reliable detection of CQ stations (PR #471 @aa5sh)
- [CHANGED] - WSJTX - SOTA/POTA/WWFF/SIG are being added to the logged QSO (PR #463 @aa5sh)
- [CHANGED] - Stats - Add a confirmation dialog for displaying over 50k QSOs on the map
- [CHANGED] - New Contact - Starting QSO Timer when Rig online and WSJTX Update Callsign Status is received
- Fixed WSJT-X does not emit band change if rig is disconnected (issue #447)
- Fixed Wrong import of ADIF file of another log program (issue #455)
- Fixed WSJTX log record is stored incorrectly if it contains non-ASCII chars(issue #458)
Expand Down
8 changes: 7 additions & 1 deletion ui/NewContactWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1708,6 +1708,8 @@ void NewContactWidget::saveExternalContact(QSqlRecord record)
// based on the poll #420, QLog adds more information from callbook
if ( savedCallsign == ui->callsignEdit->text() )
{
stopContactTimer();
updateTime();
// information independent of QTH
if ( record.value("name_intl").toString().isEmpty()
&& record.value("name").toString().isEmpty()
Expand Down Expand Up @@ -2630,11 +2632,15 @@ void NewContactWidget::prepareWSJTXQSO(const QString &receivedCallsign,
return;

QSOFreq = ui->freqRXEdit->value(); // Important !!! - to prevent QSY Contact Reset when the frequency is set
// QSY Wipe disabling - It is possible to have a RIG connected and run WSJTX.
// To prevent the QSY Wipe when WSJTX's Fake Split Mode is enabled, QLog starts the QSO Timer.
if ( rigOnline )
startContactTimer();

callsign = receivedCallsign;
ui->callsignEdit->setText(receivedCallsign);
uiDynamic->gridEdit->setText(grid);
setDxccInfo(receivedCallsign);
stopContactTimer();

// at the moment WSJTX sends several statuses about changing one callsign.
// In order to avoid multiple searches, we will search only when we have a grid - it was usually the last
Expand Down

0 comments on commit 6b64cda

Please sign in to comment.