summaryrefslogtreecommitdiffstats
path: root/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2016-01-25 18:15:06 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-25 13:04:39 -0800
commit411f455291a547c782588ec8327ec5f8a34f243c (patch)
tree3622cbd2cc533bc4071144877f16de2b51277b3d /subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
parent74333963330cc5f9d8a848487522e34a822c46de (diff)
downloadsubsurface-411f455291a547c782588ec8327ec5f8a34f243c.tar.gz
Fix bug on the visibility of the Ruler Graph
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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);
}