diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-04-28 09:34:27 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-28 09:34:27 -0700 |
commit | dad3c5d9db5c5ccecf972c405c9b53c82d5ee1a8 (patch) | |
tree | 5537a940c3e0408d188b9d9af171a8997d434360 /color.h | |
parent | de9360e2e00508000ab51daa126e6aa1149b24ad (diff) | |
download | subsurface-dad3c5d9db5c5ccecf972c405c9b53c82d5ee1a8.tar.gz |
Only auto-fill coordinates for non-empty location strings
When editing the location string we try to be smart and automatically add
the correct coordinates (assuming we have a location of this name already
in the dive list). So if you return to the same dive spot you'll get the
correct coordinates by default. But this creates bogus result if we allow
an empty location to be matched, as it makes no sense to assume that all
dives without a location name were at the same coordinates.
Fixes #498
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'color.h')
0 files changed, 0 insertions, 0 deletions