mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Check if services are available
This commit is contained in:
@@ -154,6 +154,7 @@ namespace BlackGui
|
||||
bool CInfoBarWebReadersStatusBase::hasAllData() const
|
||||
{
|
||||
if (!sGui) { return false; }
|
||||
if (!sGui->hasWebDataServices()) { return false; }
|
||||
return sGui->getWebDataServices()->getAirlineIcaoCodesCount() > 0 &&
|
||||
sGui->getWebDataServices()->getAircraftIcaoCodesCount() > 0 &&
|
||||
sGui->getWebDataServices()->getDistributorsCount() > 0 &&
|
||||
|
||||
Reference in New Issue
Block a user