From 76205906896a1977db548f59560e47e15b3bb25c Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 29 Mar 2018 18:38:44 +0000 Subject: [PATCH] Correct the handling of m_rptRcvd, on its way to the log. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8591 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index a3a494e2b..bbae6ed7c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3020,7 +3020,8 @@ void MainWindow::readFromStdout() //readFromStdout QString deCall; QString grid; decodedtext.deCallAndGrid(/*out*/deCall,grid); - if(Radio::base_callsign(ui->dxCallEntry->text())==deCall) m_rptRcvd=rpt; + if(Radio::base_callsign(ui->dxCallEntry->text())==deCall and + rpt!="") m_rptRcvd=rpt; // extract details and send to PSKreporter int nsec=QDateTime::currentMSecsSinceEpoch()/1000-m_secBandChanged; bool okToPost=(nsec>(4*m_TRperiod)/5);