summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.ui
diff options
context:
space:
mode:
authorGravatar Lakshman <acrlakshman@gmail.com>2014-03-27 13:38:07 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-28 09:38:08 -0700
commit7696fbf9cdb6292f487815bffdbc879a178cc73f (patch)
tree9effff5194d0576daa81f35359d2d54f70892889 /qt-ui/preferences.ui
parentdf7d7d498118c85b2bee40af5242852770c11e43 (diff)
downloadsubsurface-7696fbf9cdb6292f487815bffdbc879a178cc73f.tar.gz
Toggle showing average depth
Add additional check box in "preferences->graph" section that allows users to hide average depth on dive profile. By default this option is checked to show average depth. Fixes #475 Signed-off-by: Lakshman Anumolu <acrlakshman@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.ui')
-rw-r--r--qt-ui/preferences.ui13
1 files changed, 12 insertions, 1 deletions
diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui
index e0bd4c27d..06e000141 100644
--- a/qt-ui/preferences.ui
+++ b/qt-ui/preferences.ui
@@ -657,7 +657,18 @@
</widget>
</item>
</layout>
- </item>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_11d">
+ <item>
+ <widget class="QCheckBox" name="show_average_depth">
+ <property name="text">
+ <string>show average depth</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
</layout>
</widget>
</item>