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