summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-11 21:57:06 +0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-11 22:02:35 +0700
commit23973e8abdfb1354de9920cc1c5896a4fc84d25b (patch)
tree35a075ce121e5849c37f179157e98a21a5cf3951 /qt-ui/preferences.ui
parentf43a3052cb3eb0bb87ea81f15e4a02487a5ed8ec (diff)
downloadsubsurface-23973e8abdfb1354de9920cc1c5896a4fc84d25b.tar.gz
Don't show tanks that aren't used during a dive
Some dive computers will always download all tanks that they store, not just the ones used in a dive. Most people only want to see the tanks that they actually used during the dive (and for the others there's an option to go back to the old behavior, just in case). All this is only in memory / during runtime. If the dive computer provided the extra data we will not throw it away. Fixes #373 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.ui')
-rw-r--r--qt-ui/preferences.ui11
1 files changed, 11 insertions, 0 deletions
diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui
index 283fbbb39..fb5a16abb 100644
--- a/qt-ui/preferences.ui
+++ b/qt-ui/preferences.ui
@@ -772,6 +772,17 @@
</item>
</layout>
</item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_11c">
+ <item>
+ <widget class="QCheckBox" name="display_unused_tanks">
+ <property name="text">
+ <string>unused tanks</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
</layout>
</widget>
</item>