From 9e8a9f6a6165412c9ccbef8f9be61f513b6053e7 Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Sat, 24 Sep 2022 19:03:03 +0200 Subject: [PATCH] Highlight DX Call also when the other station is <...>. --- widgets/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 15b95c1b8..403e520a5 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3793,7 +3793,8 @@ void MainWindow::readFromStdout() //readFromStdout if (m_config.highlight_DXcall () && (m_hisCall!="") && ((decodedtext.string().contains(QRegularExpression {"(\\w+) " + m_hisCall})) || (decodedtext.string().contains(QRegularExpression {"(\\w+) <" + m_hisCall +">"})) - || (decodedtext.string().contains(QRegularExpression {"<(\\w+)> " + m_hisCall})))) { + || (decodedtext.string().contains(QRegularExpression {"<(\\w+)> " + m_hisCall})) + || (decodedtext.string().contains(QRegularExpression {"<...> " + m_hisCall})))) { ui->decodedTextBrowser->highlight_callsign(m_hisCall, QColor(255,0,0), QColor(255,255,255), true); // highlight dxCallEntry QTimer::singleShot (500, [=] { // repeated highlighting to override JTAlert ui->decodedTextBrowser->highlight_callsign(m_hisCall, QColor(255,0,0), QColor(255,255,255), true);