From b37422c4478825f679e05cb19ed22184b6172d44 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 28 May 2014 22:16:15 -0700 Subject: Planner: record the new dive at the correct time We don't want to do this when calling plan() from createTemporaryPlan() - we only want to record the dive at the end of createPlan(). Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui') diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index fd6eee504..921fdf88b 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -871,6 +871,7 @@ void DivePlannerPointsModel::createPlan() cyl->end.mbar = 0; } } + record_dive(tempDive); mark_divelist_changed(true); // Remove and clean the diveplan, so we don't delete -- cgit v1.2.3-70-g09d2