mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +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
|
// get an initial set of data we can choose from
|
||||||
CAircraftIcaoCodeList codes;
|
CAircraftIcaoCodeList codes;
|
||||||
if (icaoPattern.hasKnownDesignator())
|
|
||||||
|
// try all designators, even unvalid ones
|
||||||
|
if (!icaoPattern.getDesignator().isEmpty())
|
||||||
{
|
{
|
||||||
const QString d(icaoPattern.getDesignator());
|
const QString d(icaoPattern.getDesignator());
|
||||||
codes = this->findByDesignator(d);
|
codes = this->findByDesignator(d);
|
||||||
|
|||||||
Reference in New Issue
Block a user