diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-18 10:46:01 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-18 10:46:01 -0800 |
commit | 3801b765fff847adff1899c7d54484b0bb100c87 (patch) | |
tree | e46792117545e4dd00b2dadb7d9e2c1a49122fa7 /divelist.h | |
parent | 7d0cc6b337f242be2d15744465cc6adec5937193 (diff) | |
download | subsurface-3801b765fff847adff1899c7d54484b0bb100c87.tar.gz |
Don't add spurious 5m/15ft node at 10 minutes when canceling edit
When cancelling the edit of a manually added dive, we should send the
sample with timestamp 0 to addStop - that's a magic value and causes us to
add a node at 5m/15ft and 10 minutes instead. Since the dive always starts
at the surface, calling addStop is redundant, anyway, so let's just not do
that.
See #270
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.h')
0 files changed, 0 insertions, 0 deletions