mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #707, added line number to HTML output
This commit is contained in:
@@ -84,7 +84,7 @@ namespace BlackGui
|
||||
void CModelMatcherLogComponent::ps_callsignEntered()
|
||||
{
|
||||
if (!sGui || !ui->cb_LogReverseLookup->isChecked()) { return; }
|
||||
static const CPropertyIndexList properties({ CStatusMessage::IndexMessage });
|
||||
static const CPropertyIndexList properties({ CPropertyIndex::GlobalIndexLineNumber, CStatusMessage::IndexMessage });
|
||||
const CCallsign cs(ui->le_Callsign->text().trimmed().toUpper());
|
||||
const CStatusMessageList msgs = sGui->getIContextNetwork()->getReverseLookupMessages(cs);
|
||||
const QString html = msgs.toHtml(properties);
|
||||
|
||||
Reference in New Issue
Block a user