From c5b6a6ae45765bc94e74fe67189be38a38e35a8a Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 23 Mar 2022 16:12:12 -0400 Subject: [PATCH] Don't display stations already worked on current band. --- widgets/mainwindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index a9133d839..93b05e892 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3386,7 +3386,7 @@ void MainWindow::ARRL_Digi_Update(DecodedText dt) &nAz,&nEl,&nDmiles,&nDkm,&nHotAz,&nHotABetter,(FCL)6,(FCL)6); int npts=int((500+nDkm)/500); ac.grid4=deGrid; -// ac.bands="......."; + ac.bands="......."; ac.az=nAz; ac.points=npts; m_activeCall[deCall]=ac; @@ -3395,8 +3395,8 @@ void MainWindow::ARRL_Digi_Update(DecodedText dt) m_points=-1; if(m_activeCall.contains(deCall)) { -/* - // Don't display stations we already worked on this band. + +// Don't display stations we already worked on this band. QString band=m_config.bands()->find(m_freqNominal); if(band=="160m" and m_activeCall[deCall].bands.indexOf("a")>=0) {m_recentCall.remove(deCall); return;} if(band=="80m" and m_activeCall[deCall].bands.indexOf("b")>=0) {m_recentCall.remove(deCall); return;} @@ -3405,7 +3405,7 @@ void MainWindow::ARRL_Digi_Update(DecodedText dt) if(band=="15m" and m_activeCall[deCall].bands.indexOf("e")>=0) {m_recentCall.remove(deCall); return;} if(band=="10m" and m_activeCall[deCall].bands.indexOf("f")>=0) {m_recentCall.remove(deCall); return;} if(band=="6m" and m_activeCall[deCall].bands.indexOf("g")>=0) {m_recentCall.remove(deCall); return;} -*/ + // Update the variable data for this deCall rc.dialFreq=m_freqNominal; rc.audioFreq=dt.frequencyOffset();