mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Honor "last stop at 6m" in dive planner
And recalculate the dive when it changes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2a0f1fcf4e
commit
44c9316f14
1 changed files with 2 additions and 0 deletions
|
@ -1085,6 +1085,8 @@ void DivePlannerPointsModel::setSurfacePressure(int pressure)
|
|||
|
||||
void DivePlannerPointsModel::setLastStop6m(bool value)
|
||||
{
|
||||
set_last_stop(value);
|
||||
emit dataChanged(createIndex(0, 0), createIndex(rowCount()-1, COLUMNS-1));
|
||||
}
|
||||
|
||||
void DivePlannerPointsModel::setStartTime(const QTime& t)
|
||||
|
|
Loading…
Add table
Reference in a new issue