Fix MAP65's generation of Tx3 message for abs(SNR)< 10.

This commit is contained in:
Joe Taylor 2021-09-06 11:11:40 -04:00
parent 6b9cdd0071
commit df9f7cc500

View File

@ -1864,6 +1864,8 @@ void MainWindow::doubleClickOnMessages(QString hiscall, QString t2, bool ctrl)
void MainWindow::genStdMsgs(QString rpt) //genStdMsgs() void MainWindow::genStdMsgs(QString rpt) //genStdMsgs()
{ {
if(rpt.left(2)==" -") rpt="-0"+rpt.mid(2,1);
if(rpt.left(2)==" +") rpt="+0"+rpt.mid(2,1);
QString hiscall=ui->dxCallEntry->text().toUpper().trimmed(); QString hiscall=ui->dxCallEntry->text().toUpper().trimmed();
ui->dxCallEntry->setText(hiscall); ui->dxCallEntry->setText(hiscall);
QString t0=hiscall + " " + m_myCall + " "; QString t0=hiscall + " " + m_myCall + " ";