summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-16 07:09:11 -0600
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-16 07:09:11 -0600
commitc58d136d3313692d275c73cdab44b9e71f637f09 (patch)
treef8956bba9137883b7ea73a0cea499fade9f54fb7 /dive.c
parentbb39a8730bae923e01f8cbcf1384e5dc54c49b2d (diff)
downloadsubsurface-c58d136d3313692d275c73cdab44b9e71f637f09.tar.gz
Dive edit: allow the user to explicitly clear a GPS location
If the GPS coordinates for a dive were incorrect for some reason and the user wanted to clear them in order to then re-download / apply GPS information from the Subsurface webservice, prior to this patch we would always match the location name and re-populate the GPS coordinates, making it impossible to clear a GPS location without also changing the location name. This patch fixes this - but if you have multiple dives with the incorrect name / GPS location pair, the next edit to a dive that had the GPS coordinates cleared will re-populate the GPS coordinates (at that point Subsurface can no longer tell that this was intentional). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
0 files changed, 0 insertions, 0 deletions