mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
This should be further improved with #417
This commit is contained in:
@@ -386,7 +386,7 @@ namespace BlackGui
|
||||
Q_ASSERT_X(getIContextNetwork(), Q_FUNC_INFO, "missing network context");
|
||||
Q_ASSERT_X(getIContextSimulator(), Q_FUNC_INFO, "missing simulator context");
|
||||
if (this->isVisibleWidget()) { return; }
|
||||
if (getIContextSimulator()->isConnected())
|
||||
if (getIContextSimulator()->getSimulatorStatus() > 0)
|
||||
{
|
||||
const CSimulatedAircraftList aircraft(getIContextNetwork()->getAircraftInRange());
|
||||
this->ui->tvp_SimulatedAircraft->updateContainer(aircraft);
|
||||
|
||||
Reference in New Issue
Block a user