diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-04-12 13:39:01 +0200 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2020-04-13 09:42:29 +0200 |
commit | b50d5b63adb0c10bf4eb48d0aef8c54864cd67ae (patch) | |
tree | b26ff02f4fd9c61826538184639b92af1512d5e3 /qt-models/diveplannermodel.h | |
parent | 1690ba7c0cd3f95f0681152236342a31b2262796 (diff) | |
download | subsurface-b50d5b63adb0c10bf4eb48d0aef8c54864cd67ae.tar.gz |
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>
Diffstat (limited to 'qt-models/diveplannermodel.h')
-rw-r--r-- | qt-models/diveplannermodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h index 4d0967a26..7866591a6 100644 --- a/qt-models/diveplannermodel.h +++ b/qt-models/diveplannermodel.h @@ -136,6 +136,7 @@ private: QDateTime startTime; int instanceCounter = 0; struct deco_state ds_after_previous_dives; + duration_t preserved_until; }; #endif |