summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-08-05 17:40:50 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-05 14:42:56 -0700
commitf9d38100c4647aa427d2fbd4202e18e8bb1cd4bb (patch)
tree0abb95fa7e2d7d0c90aaf56beb6a0fc99732c188 /qt-ui
parentcec1ea182e49a855785b1437123ec85a713a879f (diff)
downloadsubsurface-f9d38100c4647aa427d2fbd4202e18e8bb1cd4bb.tar.gz
Hide Depth Column
We were showing everything, always. Fixes #639 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index c704f5516..5a37c168b 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -582,6 +582,7 @@ void MainTab::updateDiveInfo(bool clear)
ui.visibility->setCurrentStars(0);
}
editMode = NONE;
+ ui.cylinders->view()->hideColumn(CylindersModel::DEPTH);
}
void MainTab::addCylinder_clicked()