Process double-clicks of Fox multi-caller replies correctly

This change also ignores attempts to double-click other Hound calls.
This commit is contained in:
Bill Somerville
2020-07-18 14:47:20 +01:00
parent 46162fe94c
commit 28c5bfc1bd
2 changed files with 14 additions and 1 deletions
+7
View File
@@ -4607,6 +4607,13 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
return;
}
// ignore calls by other hounds
if (SpecOp::HOUND == m_config.special_op_id()
&& message.messageWords ().indexOf (QRegularExpression {R"(R\+-[0-9]+)"}) >= 0)
{
return;
}
QString firstcall = message.call();
if(firstcall.length()==5 and firstcall.mid(0,3)=="CQ ") firstcall="CQ";
if(!m_bFastMode and (!m_config.enable_VHF_features() or m_mode=="FT8")) {