Allow static 4-digit numbers as FT RU exchanges instead of serial numbers. This extends the usability of the FT RU protocol for other contest types.

This commit is contained in:
Uwe Risse
2023-07-11 21:25:11 +02:00
parent 54e46d90f2
commit 99876a1916
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -6102,6 +6102,9 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
t1 = t1.asprintf("%4.4d",ui->sbSerialNumber->value());
sent=rst + t1;
}
if(t1.contains(QRegularExpression {"\\d\\d\\d\\d"})) {
t1 = m_config.RTTY_Exchange();
}
}
if(SpecOp::EU_VHF==m_specOp) {
QString a;