Fix QRA64 and JT4 single tone short message texts in Tx5

Thanks to Mike, W9MDB, for this contribution.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7921 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2017-07-17 15:46:01 +00:00
parent 5eab7abed7
commit d6a9a76bcf

View File

@ -3899,8 +3899,12 @@ void MainWindow::genStdMsgs(QString rpt)
if((m_mode=="JT4" or m_mode=="QRA64") and m_bShMsgs) t="@1500 (RRR)"; if((m_mode=="JT4" or m_mode=="QRA64") and m_bShMsgs) t="@1500 (RRR)";
msgtype(t, ui->tx4); msgtype(t, ui->tx4);
t=t0 + "73"; t=t0 + "73";
if((m_mode=="JT4" or m_mode=="QRA64") and m_bShMsgs) t="@1750 (73)"; if(m_mode=="JT4" or m_mode=="QRA64") {
if (hisBase != m_lastCallsign) { // only update tx5 when callsign changes if (m_bShMsgs) t="@1750 (73)";
msgtype(t, ui->tx5->lineEdit ());
}
else if (hisBase != m_lastCallsign) { // only update tx5 when callsign changes
msgtype(t, ui->tx5->lineEdit ()); msgtype(t, ui->tx5->lineEdit ());
m_lastCallsign = hisBase; m_lastCallsign = hisBase;
} }