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
This commit is contained in:
Joe Taylor 2017-07-10 15:17:03 +00:00
parent 0aa5c2f2d8
commit e0e1d7cf40
1 changed files with 3 additions and 1 deletions

View File

@ -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,