aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp')
-rw-r--r--subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp b/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
index 02ec8a0fc..22d9a09d8 100644
--- a/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -363,7 +363,7 @@ void TechnicalDetailsSettings::setRulerGraph(bool value)
QSettings s;
s.beginGroup(tecDetails);
s.setValue("RulerBar", value);
- prefs.pp_graphs.phe_threshold = value;
+ prefs.rulergraph = value;
emit rulerGraphChanged(value);
}