Prevent a crash when clicking on a message with "m_baseCall <...>" in EU VHF contest mode.

This commit is contained in:
Uwe Risse 2022-12-07 11:10:07 +01:00
parent 2bbcd1010a
commit 83b833a4f7

View File

@ -5373,6 +5373,10 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
MessageBox::information_message (this, tr ("Should you switch to RTTY contest mode?"));
}
if(SpecOp::EU_VHF==m_specOp and message.string().contains("<...>")) {
return;
}
if(SpecOp::EU_VHF==m_specOp and message_words.at(2).contains(m_baseCall) and
(!message_words.at(3).contains(qso_partner_base_call)) and (!m_bDoubleClicked)) {
return;