mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Planner: don't show CC Set Point when planning dives
So far we only plan OC dives, so let's not confuse things by showing the set point for the tank. Fixes #261 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1620f7ec0c
commit
dd1dc11cb6
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ bool DivePlannerPointsModel::recalcQ()
|
|||
|
||||
int DivePlannerPointsModel::columnCount(const QModelIndex &parent) const
|
||||
{
|
||||
return COLUMNS;
|
||||
return COLUMNS - 1; // don't show CCSETPOINT until we can plan CC dives
|
||||
}
|
||||
|
||||
QVariant DivePlannerPointsModel::data(const QModelIndex &index, int role) const
|
||||
|
|
Loading…
Reference in a new issue