mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
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>
This commit is contained in:
parent
5db706d291
commit
bb176e822a
1 changed files with 1 additions and 0 deletions
|
@ -1051,6 +1051,7 @@ void DivePlannerPointsModel::createTemporaryPlan()
|
||||||
#endif
|
#endif
|
||||||
if (plannerModel->recalcQ() && !diveplan_empty(&diveplan)) {
|
if (plannerModel->recalcQ() && !diveplan_empty(&diveplan)) {
|
||||||
plan(&diveplan, &cache, isPlanner(), false);
|
plan(&diveplan, &cache, isPlanner(), false);
|
||||||
|
MainWindow::instance()->setPlanNotes(displayed_dive.notes);
|
||||||
}
|
}
|
||||||
// throw away the cache
|
// throw away the cache
|
||||||
free(cache);
|
free(cache);
|
||||||
|
|
Loading…
Reference in a new issue