Test m_tx2QSO before writing Tx message to QSO window.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3162 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-04-13 01:53:24 +00:00
parent 13bdcb424d
commit cd7493b598

View File

@ -1448,7 +1448,7 @@ void MainWindow::guiUpdate()
out << QDateTime::currentDateTimeUtc().toString("hhmm") out << QDateTime::currentDateTimeUtc().toString("hhmm")
<< " Transmitting: " << t << endl; << " Transmitting: " << t << endl;
f.close(); f.close();
displayTxMsg(t); if(m_tx2QSO) displayTxMsg(t);
} }
QStringList w=t.split(" ",QString::SkipEmptyParts); QStringList w=t.split(" ",QString::SkipEmptyParts);
@ -1520,7 +1520,7 @@ void MainWindow::guiUpdate()
out << QDateTime::currentDateTimeUtc().toString("hhmm") out << QDateTime::currentDateTimeUtc().toString("hhmm")
<< " Transmitting: " << t << endl; << " Transmitting: " << t << endl;
f.close(); f.close();
displayTxMsg(t); if(m_tx2QSO) displayTxMsg(t);
} }
if(!btxok && btxok0 && m_iptt==1) stopTx(); if(!btxok && btxok0 && m_iptt==1) stopTx();