summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index 0e8c8ee67..7298f9006 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -1655,7 +1655,7 @@ void UnitsSettings::setUnitSystem(const QString& value)
return;
QSettings s;
-
+ s.beginGroup(group);
s.setValue("unit_system", value);
if (value == QStringLiteral("metric")) {