mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Sync unit system to Subsurface-mobile (part 2)
Missed a spot. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ac52034778
commit
d87d97a794
1 changed files with 2 additions and 0 deletions
|
@ -543,6 +543,8 @@ void QMLManager::consumeFinishedLoad(timestamp_t currentDiveTimestamp)
|
|||
prefs.unit_system = git_prefs.unit_system;
|
||||
if (git_prefs.unit_system == IMPERIAL)
|
||||
git_prefs.units = IMPERIAL_units;
|
||||
else if (git_prefs.unit_system == METRIC)
|
||||
git_prefs.units = SI_units;
|
||||
prefs.units = git_prefs.units;
|
||||
prefs.tankbar = git_prefs.tankbar;
|
||||
prefs.dcceiling = git_prefs.dcceiling;
|
||||
|
|
Loading…
Reference in a new issue