From 4a91cb9503e0997cffab9f251973bed953eab635 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sat, 22 Oct 2016 04:23:35 +0200 Subject: [PATCH] refs #780, adjusted matcher log component`s UI --- .../components/modelmatcherlogcomponent.cpp | 2 +- .../components/modelmatcherlogcomponent.ui | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/blackgui/components/modelmatcherlogcomponent.cpp b/src/blackgui/components/modelmatcherlogcomponent.cpp index 70c3c9ee6..57e211da0 100644 --- a/src/blackgui/components/modelmatcherlogcomponent.cpp +++ b/src/blackgui/components/modelmatcherlogcomponent.cpp @@ -83,7 +83,7 @@ namespace BlackGui void CModelMatcherLogComponent::ps_callsignEntered() { - if (!sGui || !ui->cb_LogReverseLookup->isChecked()) { return; } + if (!sGui || !sGui->getIContextNetwork()) { return; } static const CPropertyIndexList properties({ CPropertyIndex::GlobalIndexLineNumber, CStatusMessage::IndexMessage }); const CCallsign cs(ui->le_Callsign->text().trimmed().toUpper()); const CStatusMessageList msgs = sGui->getIContextNetwork()->getReverseLookupMessages(cs); diff --git a/src/blackgui/components/modelmatcherlogcomponent.ui b/src/blackgui/components/modelmatcherlogcomponent.ui index 689b29a6d..2a48ae339 100644 --- a/src/blackgui/components/modelmatcherlogcomponent.ui +++ b/src/blackgui/components/modelmatcherlogcomponent.ui @@ -40,7 +40,19 @@ QFrame::Raised - + + + 0 + + + 2 + + + 0 + + + 2 + @@ -53,8 +65,11 @@ + + enable logging of reverse lookup messages + - reverse lookup + enable rev. lookup msgs