mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Ref T104, return inconsistent airports
This commit is contained in:
committed by
Mathew Sutcliffe
parent
297c2f0539
commit
847fcfbb71
@@ -339,10 +339,10 @@ namespace BlackCore
|
||||
if (res.isRestricted())
|
||||
{
|
||||
// create full list if it was just incremental
|
||||
const CCountryList incCountries(CCountryList::fromDatabaseJson(res));
|
||||
if (incCountries.isEmpty()) { return; } // currently ignored
|
||||
const CCountryList incrementalCountries(CCountryList::fromDatabaseJson(res));
|
||||
if (incrementalCountries.isEmpty()) { return; } // currently ignored
|
||||
countries = this->getCountries();
|
||||
countries.replaceOrAddObjectsByKey(incCountries);
|
||||
countries.replaceOrAddObjectsByKey(incrementalCountries);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user