This commit is contained in:
Klaus Basan
2019-02-13 01:52:15 +01:00
committed by Mat Sutcliffe
parent dc84c9b334
commit 41b48a4420
4 changed files with 20 additions and 18 deletions

View File

@@ -86,7 +86,7 @@ namespace BlackGui
void CAircraftPartsHistory::updatePartsHistory()
{
if (!this->hasContexts()) { return; }
if (!this->isVisible()) { return; }
if (!this->isVisible()) { return; }
const CCallsign cs(ui->comp_CallsignCompleter->getCallsign());
if (cs.isEmpty()) { return; } // no or invalid callsign
const auto currentAircraftParts = sGui->getIContextNetwork()->getRemoteAircraftParts(cs).frontOrDefault();