summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-31 21:14:44 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-31 21:14:44 -0700
commit6333f3aa35d12d7e9f1c02389df0f6129adb93b3 (patch)
tree948d1b98f7db0644a08ea27e4d9f3d4baf088315 /qt-ui/diveplanner.cpp
parente93bf1e55953a7f95b4a0a5fb2a07e83e2a8c4c4 (diff)
downloadsubsurface-6333f3aa35d12d7e9f1c02389df0f6129adb93b3.tar.gz
Planner: show the plan notes in the new widget
That was easy. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index c73487048..dd72ce9c5 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -842,6 +842,7 @@ void DivePlannerPointsModel::createTemporaryPlan()
#endif
if (plannerModel->recalcQ() && !diveplan_empty(&diveplan)) {
plan(&diveplan, &cache, &tempDive, stagingDive, isPlanner());
+ MainWindow::instance()->setPlanNotes(tempDive->notes);
addDecoToModel();
if (mode == ADD || mode == PLAN) {
// copy the samples and events, but don't overwrite the cylinders