diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-09-28 22:30:20 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-28 22:30:20 -0400 |
commit | 7ad1485c398b8bea651e28acb5eed2c78ff8a18e (patch) | |
tree | 6643ae4a849d1ae729d5ef87cf6e0af294c0efd7 /tests | |
parent | 55cc0ee9c158607378f8277143eab731c6f91e6c (diff) | |
download | subsurface-7ad1485c398b8bea651e28acb5eed2c78ff8a18e.tar.gz |
Don't save unused, auto-create dive sites
Normally the auto-created sites that are used when downloading GPS data
from the webservice that aren't associated with a dive will immediately
discarded. But if such a site is used for a dive but then the user changes
their mind and uses another site for that dive (for example because they
had a previous dive at that spot and decided they liked that one better
after all), then the dive site can stick around as an orphan.
Having orphan dive site may make sense for named dive sites that for some
reason are no longer used but may be used again in the future, but having
an auto-named orphaned dive site in the data file seems silly. So let's
remove them.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions