Ref T515, set failover and "modelSetRemoveFailedModel" in combination

This commit is contained in:
Klaus Basan
2019-01-24 20:13:57 +01:00
committed by Mat Sutcliffe
parent bbaa9577b8
commit 9623b7a1da
2 changed files with 3 additions and 1 deletions

View File

@@ -214,6 +214,8 @@ namespace BlackMisc
bool excludeNoDbData, bool excludeNoExcluded,
bool modelVerification, bool modelSetRemoveFailedModel, bool modelFailover)
{
if (modelFailover) { modelSetRemoveFailedModel = true; } // otherwise this does not make sense
MatchingMode mode = byModelString ? ByModelString : ModeNone;
if (byIcaoDataAircraft1st) { mode |= ByIcaoOrderAircraftFirst; }
if (byIcaoDataAirline1st) { mode |= ByIcaoOrderAirlineFirst; }