Minor code correction.

This commit is contained in:
Uwe Risse 2022-12-06 15:25:16 +01:00
parent ffe6ed7a1c
commit c6d13a7984

View File

@ -3895,12 +3895,11 @@ void MainWindow::readFromStdout() //readFromStdout
bool bProcessMsgNormally=ui->respondComboBox->currentText()=="CQ: First" or bool bProcessMsgNormally=ui->respondComboBox->currentText()=="CQ: First" or
(ui->respondComboBox->currentText()=="CQ: Max Dist" and m_ActiveStationsWidget==NULL) or (ui->respondComboBox->currentText()=="CQ: Max Dist" and m_ActiveStationsWidget==NULL) or
(m_ActiveStationsWidget!=NULL and !m_ActiveStationsWidget->isVisible()); (m_ActiveStationsWidget!=NULL and !m_ActiveStationsWidget->isVisible());
if (decodedtext.messageWords().length() >= 2) { if (decodedtext.messageWords().length() >= 3) {
QString t=decodedtext.messageWords()[2]; QString t=decodedtext.messageWords()[2];
if(t.contains("R+") or t.contains("R-") or t=="R" or t=="RRR" or t=="RR73") bProcessMsgNormally=true; if(t.contains("R+") or t.contains("R-") or t=="R" or t=="RRR" or t=="RR73") bProcessMsgNormally=true;
} } else {
else { bProcessMsgNormally=true;
bProcessMsgNormally=true;
} }
if(bProcessMsgNormally) { if(bProcessMsgNormally) {
m_bDoubleClicked=true; m_bDoubleClicked=true;