diff --git a/Changelog b/Changelog index d96bc5e0..4ed94863 100644 --- a/Changelog +++ b/Changelog @@ -16,6 +16,7 @@ TBC - 0.37.0 - Fixed QRZ Lookup Not Including Full Name - History (issue #388) - Fixed Spot Last QSO contains TX freq, should contain RX freq (issue #390) - Fixed Spot Last QSO must contain Freq in kHz (issue #391) +- Fixed Bandmap select previous selected callsign issue (issue #394) - Fixed Malfunctioning tuning of WSJTX Alert spot 2024/06/07 - 0.36.0 diff --git a/ui/BandmapWidget.cpp b/ui/BandmapWidget.cpp index 491c5eba..08b97034 100644 --- a/ui/BandmapWidget.cpp +++ b/ui/BandmapWidget.cpp @@ -674,6 +674,17 @@ void BandmapWidget::spotClicked(const QString &call, emit tuneDx(call, freq, mode); lastTunedDX.callsign = call; lastTunedDX.freq = freq; + + // allow to re-click the spot. + // I don't want to use double click here because users expect to single-clicking on the map and double click + // can emit tuneDX two times what causes an issue in Callbooks section and other parts of QLog. + // However, to be able to click on the callsign again, it needs to be disabled for a short while. + // That's why there is a delay. + QTimer::singleShot(3000, this, [this]() { + lastTunedDX.callsign.clear(); + lastTunedDX.freq = 0.0; + }); + } void BandmapWidget::showContextMenu(const QPoint &point)