diff options
author | Robert C. Helling <helling@atdotde.de> | 2018-02-05 15:58:25 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-02-10 10:26:34 +0100 |
commit | 920aa613c9a422d3f232b355524db7f5a7f0342f (patch) | |
tree | 9d6d68a4e77dff06b078adc99b85987022deaf16 /desktop-widgets/preferences/preferences_graph.cpp | |
parent | f9f1630d5c040344b7f8dbaf02348ec5f2b4c7dd (diff) | |
download | subsurface-920aa613c9a422d3f232b355524db7f5a7f0342f.tar.gz |
Add a preference to turn on ICD warnings
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'desktop-widgets/preferences/preferences_graph.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferences_graph.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_graph.cpp b/desktop-widgets/preferences/preferences_graph.cpp index 20e0918ab..ccc9aee65 100644 --- a/desktop-widgets/preferences/preferences_graph.cpp +++ b/desktop-widgets/preferences/preferences_graph.cpp @@ -46,6 +46,7 @@ void PreferencesGraph::refreshSettings() ui->display_unused_tanks->setChecked(prefs.display_unused_tanks); ui->show_average_depth->setChecked(prefs.show_average_depth); + ui->show_icd->setChecked(prefs.show_icd); } void PreferencesGraph::syncSettings() @@ -72,6 +73,7 @@ void PreferencesGraph::syncSettings() tech->setShowCCRSensors(ui->show_ccr_sensors->isChecked()); tech->setDisplayUnusedTanks(ui->display_unused_tanks->isChecked()); tech->setShowAverageDepth(ui->show_average_depth->isChecked()); + tech->setShowIcd(ui->show_icd->isChecked()); tech->setDecoMode(ui->vpmb->isChecked() ? VPMB : BUEHLMANN); } |