summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.cpp')
-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 d1146b7b6..16987d6ae 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -1625,7 +1625,7 @@ void UnitsSettings::setLength(int value)
QSettings s;
s.beginGroup(group);
s.setValue("length", value);
- prefs.units.length = (units::LENGHT) value;
+ prefs.units.length = (units::LENGTH) value;
emit lengthChanged(value);
}