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:
Dirk Hohndel 2014-08-19 22:15:59 -05:00
parent 1620f7ec0c
commit dd1dc11cb6

View file

@ -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