diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-14 21:22:03 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-14 21:22:03 -0400 |
commit | 6dfd16a1f51f20dfff180d0ae238af3ee8667605 (patch) | |
tree | 8af87ff0c36109e67be4e992dee5f2084212eec5 /dive.h | |
parent | 41a97bc1ae1d16053d5f0374c319a9011ffe06a2 (diff) | |
download | subsurface-6dfd16a1f51f20dfff180d0ae238af3ee8667605.tar.gz |
When editing a manually entered dive, make sure divelist is updated
Editing a manually entered dive allows the user to edit duration, max
depth and mean depth. These values are stored in the first (and only)
divecomputer and the duration, maxdepth and meandepth fields of the dive
are populated in fixup_dive() after the dive was initially parsed.
In order for this to work we need to clear out the existing fields (so
that values can get smaller) and rerun fixup_dive().
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions