mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Fix misleading error message
This commit is contained in:
@@ -474,7 +474,7 @@ namespace BlackGui
|
|||||||
cruiseTAS.parseFromString(v, CPqString::SeparatorBestGuess);
|
cruiseTAS.parseFromString(v, CPqString::SeparatorBestGuess);
|
||||||
if (cruiseTAS.isNull())
|
if (cruiseTAS.isNull())
|
||||||
{
|
{
|
||||||
messages.push_back(CStatusMessage(this).validationError(u"Wrong TAS, %1. Try adding a unit like '100kts' or '150kmh'") << ui->lbl_CruiseTrueAirspeed->text());
|
messages.push_back(CStatusMessage(this).validationError(u"Wrong TAS, %1. Try adding a unit like '100kts' or '150km/h'") << ui->lbl_CruiseTrueAirspeed->text());
|
||||||
flightPlan.setDestinationAirportIcao(defaultIcao());
|
flightPlan.setDestinationAirportIcao(defaultIcao());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user