Fix the generation of Tx5 message when "hiscall" has suffix /P or /R. Is there a better method?

This commit is contained in:
Joe Taylor 2021-06-22 12:24:18 -04:00
parent 42a3e246bf
commit 1df2101b11

View File

@ -5535,7 +5535,8 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
msgtype(t, ui->tx5->lineEdit ());
}
} else {
if (hisCall != hisBase and SpecOp::HOUND != m_config.special_op_id()) {
if (hisCall != hisBase && hisCall != (hisBase+"/P") && hisCall != (hisBase+"/R")
&& SpecOp::HOUND != m_config.special_op_id()) {
if (shortList(hisCall)) {
// cfm we know his full call with a type 1 tx1 message
t = hisCall + " " + my_callsign;