Fix the broken "click-on-callsign" logic.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7178 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2016-10-13 21:32:30 +00:00
parent 4c9e4e546c
commit 7ccef46ba0

View File

@ -2644,7 +2644,7 @@ void MainWindow::guiUpdate()
double tx1=0.0;
double tx2=txDuration;
if((icw[0]>0) and (!m_bFast9)) tx2 += icw[0]*2560.0/48000.0; //Full length including CW ID
if((icw[0]>0) and (!m_bFast9)) tx2 += icw[0]*2560.0/48000.0; //Full length including CW ID
if(!m_txFirst and !m_mode.startsWith ("WSPR")) {
tx1 += m_TRperiod;
tx2 += m_TRperiod;
@ -3265,13 +3265,13 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl
QString t2 = messages.mid(i1,position-i1); //selected line
QString t2a;
int ntsec=3600*t2.mid(0,2).toInt() + 60*t2.mid(2,2).toInt();
if(m_bFast9) {
if(m_bFastMode) {
ntsec = ntsec + t2.mid(4,2).toInt();
t2a=t2.mid(0,4) + t2.mid(6,-1); //Change hhmmss to hhmm for the message parser
} else {
t2a=t2.left (44); // strip and quality info trailing the decoded message
}
if(m_bFast9) {
if(m_bFastMode) {
i1=t2a.indexOf(" CQ ");
if(i1>10) {
bool ok;