mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Preserve events when editing dive in planner
The planner does not know about events except gas changes. But if the dive comes from the log, we should preserve the dive computer events. At least those that happend before we started to delete waypoints to let the planner take over. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
1690ba7c0c
commit
b50d5b63ad
4 changed files with 48 additions and 8 deletions
|
@ -136,6 +136,7 @@ private:
|
|||
QDateTime startTime;
|
||||
int instanceCounter = 0;
|
||||
struct deco_state ds_after_previous_dives;
|
||||
duration_t preserved_until;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue