mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #707, also resolve invalid codes (as those are now resolved by endsWith)
This commit is contained in:
@@ -216,7 +216,9 @@ namespace BlackMisc
|
||||
|
||||
// get an initial set of data we can choose from
|
||||
CAircraftIcaoCodeList codes;
|
||||
if (icaoPattern.hasKnownDesignator())
|
||||
|
||||
// try all designators, even unvalid ones
|
||||
if (!icaoPattern.getDesignator().isEmpty())
|
||||
{
|
||||
const QString d(icaoPattern.getDesignator());
|
||||
codes = this->findByDesignator(d);
|
||||
|
||||
Reference in New Issue
Block a user