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>
This commit is contained in:
Tomaz Canabrava 2014-08-05 17:40:50 -03:00 committed by Dirk Hohndel
parent cec1ea182e
commit f9d38100c4

View file

@ -582,6 +582,7 @@ void MainTab::updateDiveInfo(bool clear)
ui.visibility->setCurrentStars(0); ui.visibility->setCurrentStars(0);
} }
editMode = NONE; editMode = NONE;
ui.cylinders->view()->hideColumn(CylindersModel::DEPTH);
} }
void MainTab::addCylinder_clicked() void MainTab::addCylinder_clicked()