mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
PQ parsing using "best guess" strategy as default plus renamings
This commit is contained in:
committed by
Mat Sutcliffe
parent
4e1835b80d
commit
d89b217e9b
@@ -392,7 +392,7 @@ namespace BlackGui
|
||||
// TAS
|
||||
v = ui->le_CruiseTrueAirspeed->text();
|
||||
CSpeed cruiseTAS;
|
||||
cruiseTAS.parseFromString(v, CPqString::SeparatorsLocale);
|
||||
cruiseTAS.parseFromString(v, CPqString::SeparatorBestGuess);
|
||||
if (cruiseTAS.isNull())
|
||||
{
|
||||
messages.push_back(CStatusMessage(this).validationError("Wrong TAS, %1") << ui->lbl_CruiseTrueAirspeed->text());
|
||||
|
||||
Reference in New Issue
Block a user