Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
d15e422c
Unverified
Commit
d15e422c
authored
Jun 24, 2018
by
Don Gagne
Committed by
GitHub
Jun 24, 2018
Browse files
Merge pull request #6647 from DonLakeFlyer/DistanceUnits
App settings distance units broken
parents
092f0991
a9a02fbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FactSystem/FactMetaData.cc
View file @
d15e422c
...
...
@@ -918,7 +918,7 @@ const FactMetaData::AppSettingsTranslation_s* FactMetaData::_findAppSettingsDist
continue
;
}
uint
settingsUnits
=
qgcApp
()
->
toolbox
()
->
settingsManager
()
->
unitsSettings
()
->
area
Units
()
->
rawValue
().
toUInt
();
uint
settingsUnits
=
qgcApp
()
->
toolbox
()
->
settingsManager
()
->
unitsSettings
()
->
distance
Units
()
->
rawValue
().
toUInt
();
if
(
pAppSettingsTranslation
->
unitType
==
UnitDistance
&&
pAppSettingsTranslation
->
unitOption
==
settingsUnits
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment