Skip to content

Commit 6b64cda

Browse files
committed
NewContact: Starting QSO Timer when WSJTX Update Callsign Status is received
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.
1 parent 1f43dbe commit 6b64cda

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ TBC - 0.39.0
99
- [CHANGED] - WSJTX - More reliable detection of CQ stations (PR #471 @aa5sh)
1010
- [CHANGED] - WSJTX - SOTA/POTA/WWFF/SIG are being added to the logged QSO (PR #463 @aa5sh)
1111
- [CHANGED] - Stats - Add a confirmation dialog for displaying over 50k QSOs on the map
12+
- [CHANGED] - New Contact - Starting QSO Timer when Rig online and WSJTX Update Callsign Status is received
1213
- Fixed WSJT-X does not emit band change if rig is disconnected (issue #447)
1314
- Fixed Wrong import of ADIF file of another log program (issue #455)
1415
- Fixed WSJTX log record is stored incorrectly if it contains non-ASCII chars(issue #458)

ui/NewContactWidget.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,6 +1708,8 @@ void NewContactWidget::saveExternalContact(QSqlRecord record)
17081708
// based on the poll #420, QLog adds more information from callbook
17091709
if ( savedCallsign == ui->callsignEdit->text() )
17101710
{
1711+
stopContactTimer();
1712+
updateTime();
17111713
// information independent of QTH
17121714
if ( record.value("name_intl").toString().isEmpty()
17131715
&& record.value("name").toString().isEmpty()
@@ -2630,11 +2632,15 @@ void NewContactWidget::prepareWSJTXQSO(const QString &receivedCallsign,
26302632
return;
26312633

26322634
QSOFreq = ui->freqRXEdit->value(); // Important !!! - to prevent QSY Contact Reset when the frequency is set
2635+
// QSY Wipe disabling - It is possible to have a RIG connected and run WSJTX.
2636+
// To prevent the QSY Wipe when WSJTX's Fake Split Mode is enabled, QLog starts the QSO Timer.
2637+
if ( rigOnline )
2638+
startContactTimer();
2639+
26332640
callsign = receivedCallsign;
26342641
ui->callsignEdit->setText(receivedCallsign);
26352642
uiDynamic->gridEdit->setText(grid);
26362643
setDxccInfo(receivedCallsign);
2637-
stopContactTimer();
26382644

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

0 commit comments

Comments
 (0)