summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-26 07:15:13 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-26 07:37:11 -0800
commitbf20572630b751683449d4bf839f2bb3046ce2bd (patch)
tree213df9bbfa242507cc60a075c0909c0622edade3 /qt-ui/maintab.cpp
parentf11001ff4ee478453714df7ed1efdb8a1aa7fbde (diff)
downloadsubsurface-bf20572630b751683449d4bf839f2bb3046ce2bd.tar.gz
Disable the switching depth column for cylinders
Since the planner is disabled this column isn't needed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 0a66a227e..103413ac1 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -84,7 +84,8 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
ui.cylinders->view()->setItemDelegateForColumn(CylindersModel::TYPE, new TankInfoDelegate(this));
ui.weights->view()->setItemDelegateForColumn(WeightModel::TYPE, new WSInfoDelegate(this));
- ui.cylinders->view()->setColumnHidden(CylindersModel::DEPTH, true);
+ // disabled as this column is pointless outside the disabled planner
+ // ui.cylinders->view()->setColumnHidden(CylindersModel::DEPTH, true);
completers.buddy = new QCompleter(BuddyCompletionModel::instance(), ui.buddy);
completers.divemaster = new QCompleter(DiveMasterCompletionModel::instance(), ui.divemaster);
completers.location = new QCompleter(LocationCompletionModel::instance(), ui.location);