mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f11001ff4e
commit
bf20572630
4 changed files with 15 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue