diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-25 15:28:55 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-26 13:19:35 -0700 |
commit | 660235c9b7cc719f3ba11c2eecceec18fab3cb54 (patch) | |
tree | be7d565af290caa0ce3503fab05c353952a3fda2 /qt-ui/mainwindow.cpp | |
parent | eec0b327a3bb5f2d27594693d79a5bc86439c1e2 (diff) | |
download | subsurface-660235c9b7cc719f3ba11c2eecceec18fab3cb54.tar.gz |
Planner: Don't include the ascent in the default dive
Allow to both create the full default dive or ownly the descent and bottom
part (so the planner can deal with the ascent).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index ac02527cb..63abd1d30 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -411,7 +411,7 @@ void MainWindow::on_actionDivePlanner_triggered() ui.newProfile->setPlanState(); ui.infoPane->setCurrentIndex(PLANNERWIDGET); DivePlannerPointsModel::instance()->clear(); - DivePlannerPointsModel::instance()->createSimpleDive(); + DivePlannerPointsModel::instance()->createSimpleDive(true); ui.ListWidget->reload(DiveTripModel::CURRENT); } |