aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 16:41:15 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 16:41:15 -0700
commitbb176e822a86d6bd4753faa625b9fa97ce7462ea (patch)
treecf160bdca9c6ef1ef2b61493c0d71a1b8832cf2e
parent5db706d291e8916cd9ba63a3b26b24d4471c608d (diff)
downloadsubsurface-bb176e822a86d6bd4753faa625b9fa97ce7462ea.tar.gz
UI restructure: add back the missing plan dive notes
This was removed in the big rewrite by mistake. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-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 3661fab15..256ddff2f 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -1051,6 +1051,7 @@ void DivePlannerPointsModel::createTemporaryPlan()
#endif
if (plannerModel->recalcQ() && !diveplan_empty(&diveplan)) {
plan(&diveplan, &cache, isPlanner(), false);
+ MainWindow::instance()->setPlanNotes(displayed_dive.notes);
}
// throw away the cache
free(cache);