subsurface/desktop-widgets
Berthold Stoeger 1ec0790d50 planner: remove displayed_dive from DivePlannerModel
To remove global state, make the dive that DivePlannerModel
works on a member variable. Pass the dive in createSimpleDive()
and loadFromDive(). Moreover, this should pave the way to more
fine-grained undo in the planner. Ultimately, the planner
should not be modal.

Attention: for now, the dive must still be displayed_dive,
because of the convoluted way in which the profile and the
planner work on the same dive.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-04-02 13:53:23 -07:00
..
2015-10-30 10:36:49 -07:00
2020-10-26 19:27:03 -07:00
2020-10-26 19:27:03 -07:00
2017-11-30 23:14:46 -08:00
2020-01-24 09:51:02 -08:00
2020-03-19 08:37:59 -07:00
2021-02-06 10:00:39 -08:00
2020-09-03 11:46:16 -07:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2015-10-30 10:36:49 -07:00
2017-11-30 23:14:46 -08:00