From e0e1d7cf4042f2a2c507f3668279ec5360afdc60 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 10 Jul 2017 15:17:03 +0000 Subject: [PATCH] Fix yet another mistake in coding "Call 1st". JT65 and JT9 decodes should now go correctly to Rx Freq window. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7838 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 2c9308346..fce50cd73 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2721,6 +2721,7 @@ void MainWindow::readFromStdout() //readFromStdout //Right (Rx Frequency) window bool bDisplayRight=bAvgMsg; + int audioFreq=decodedtext.frequencyOffset(); if(m_mode=="FT8") { int i1=decodedtext.string().indexOf(" "+m_baseCall+" "); @@ -2730,10 +2731,11 @@ void MainWindow::readFromStdout() //readFromStdout processMessage(decodedtext.string(),43,false); m_bCallingCQ=false; } else { - int audioFreq=decodedtext.frequencyOffset(); audioFreq=decodedtext.string().mid(16,4).toInt(); if(i1>0 or (abs(audioFreq - m_wideGraph->rxFreq()) <= 10)) bDisplayRight=true; } + } else { + if(abs(audioFreq - m_wideGraph->rxFreq()) <= 10) bDisplayRight=true; } if (bDisplayRight) { // This msg is within 10 hertz of our tuned frequency, or a JT4 or JT65 avg,