mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-26 14:18:38 -05:00
Fix several more bugs in generating new-style messages. Use DXped label for contest ID.
This commit is contained in:
parent
a9bb1924f9
commit
df26a762dd
@ -4566,12 +4566,13 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
|
|||||||
|
|
||||||
QString rs=rst.mid(0,2);
|
QString rs=rst.mid(0,2);
|
||||||
if(m_config.bEU_VHF_Contest()) {
|
if(m_config.bEU_VHF_Contest()) {
|
||||||
QString a;
|
QString t1,a;
|
||||||
a.sprintf(" %d ",ui->sbSerialNumber->value());
|
t1=t0.split(" ").at(0);
|
||||||
t=t0 + rs + a + m_config.my_grid();
|
a.sprintf("%4.4d ",ui->sbSerialNumber->value());
|
||||||
|
t=t1 + " " + rs + a + m_config.my_grid();
|
||||||
msgtype(t, ui->tx2);
|
msgtype(t, ui->tx2);
|
||||||
a.sprintf(" %d ",ui->sbSerialNumber->value());
|
a.sprintf("%4.4d ",ui->sbSerialNumber->value());
|
||||||
t=t0 + "R " + rs + a + m_config.my_grid();
|
t=t1 + " R " + rs + a + m_config.my_grid();
|
||||||
msgtype(t, ui->tx3);
|
msgtype(t, ui->tx3);
|
||||||
m_send_RR73=true;
|
m_send_RR73=true;
|
||||||
}
|
}
|
||||||
@ -5176,6 +5177,19 @@ void MainWindow::on_actionFT8_triggered()
|
|||||||
ui->txb6->setEnabled(false);
|
ui->txb6->setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QString t0="";
|
||||||
|
if(m_config.bEU_VHF_Contest()) t0="EU VHF";
|
||||||
|
if(m_config.bNA_VHF_Contest()) t0="NA VHF";
|
||||||
|
if(m_config.bFieldDay()) t0="FD";
|
||||||
|
if(m_config.bRTTYroundup()) t0=="RTTY";
|
||||||
|
if(m_config.bGenerate77()) t0+=" 2";
|
||||||
|
if(t0=="") {
|
||||||
|
ui->labDXped->setVisible(false);
|
||||||
|
} else {
|
||||||
|
ui->labDXped->setVisible(true);
|
||||||
|
ui->labDXped->setText("*** " + t0 + " ***");
|
||||||
|
}
|
||||||
|
|
||||||
if((m_config.bFox() or m_config.bHound()) and !m_config.split_mode() and !m_bWarnedSplit) {
|
if((m_config.bFox() or m_config.bHound()) and !m_config.split_mode() and !m_bWarnedSplit) {
|
||||||
QString errorMsg;
|
QString errorMsg;
|
||||||
MessageBox::critical_message (this,
|
MessageBox::critical_message (this,
|
||||||
|
Loading…
Reference in New Issue
Block a user