summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-28 08:07:28 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-28 08:07:28 -0700
commit06a8002a2de0dc731f0ecd5ec87cf210ec2b9c2c (patch)
treef94af845f029fba6d3cec0fefcdfc7c72b88850a /qt-ui/mainwindow.cpp
parent4b18da1f2251c37a17ef68d982cb69d344968c9d (diff)
downloadsubsurface-06a8002a2de0dc731f0ecd5ec87cf210ec2b9c2c.tar.gz
Planner: implement sane way to set the start time of the planned dive
This uses the same widgets we use on the maintab. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index ed0488986..1e21f4a59 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -480,6 +480,7 @@ void MainWindow::on_actionDivePlanner_triggered()
DivePlannerPointsModel::instance()->setupCylinders();
// create a simple starting dive, using the first gas from the just copied cylidners
+ DivePlannerPointsModel::instance()->setupStartTime();
createFakeDiveForAddAndPlan();
DivePlannerPointsModel::instance()->createSimpleDive();