mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
* new signal sending all 3 states together (connected, running, paused) * renamed ISimulator::Status to ConnectionStatus * consolidated some member / signal names * for FS9/XPlane implemented stub functions
This commit is contained in:
committed by
Roland Winklmeier
parent
326ae96def
commit
a94bceddab
@@ -59,11 +59,11 @@ namespace BlackGui
|
||||
{
|
||||
if (!this->isVisibleWidget()) return; // no updates on invisible widgets
|
||||
if (!this->getIContextOwnAircraft()) return;
|
||||
if (!this->getIContextSimulator()->isConnected())
|
||||
if (!this->getIContextSimulator()->isRunning())
|
||||
{
|
||||
if (this->rowCount() == 1) return;
|
||||
this->clear();
|
||||
this->addOrUpdateByName("info", "sim not connected", CIcons::StandardIconWarning16);
|
||||
this->addOrUpdateByName("info", "sim not running", CIcons::StandardIconWarning16);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user