mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Fix misleading error message
This commit is contained in:
@@ -474,7 +474,7 @@ namespace BlackGui
|
||||
cruiseTAS.parseFromString(v, CPqString::SeparatorBestGuess);
|
||||
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());
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user