diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-08-19 22:15:59 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-19 22:15:59 -0500 |
commit | dd1dc11cb60ec819d26ae198633546db780dec18 (patch) | |
tree | ccaaf34b5d7e6e50c2449e999498f06d5566d559 /qt-ui/diveplanner.cpp | |
parent | 1620f7ec0ca35ddb7888607782ec453af58e89e3 (diff) | |
download | subsurface-dd1dc11cb60ec819d26ae198633546db780dec18.tar.gz |
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>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r-- | qt-ui/diveplanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 589a2d1c2..8e87df0d5 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -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 |