mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-24 04:58:46 -04:00
Improved protection against crashes caused by double-clicking messages with <...> in certain QSO situations.
This commit is contained in:
parent
83b833a4f7
commit
f21d2ca9b1
@ -5373,9 +5373,9 @@ 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;
|
||||
}
|
||||
// This is necessary to prevent crashes caused by double-clicking messages with <...> in certain QSO situations.
|
||||
if((SpecOp::EU_VHF==m_specOp or SpecOp::RTTY==m_specOp or SpecOp::FIELD_DAY==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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user