summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/locationinformation.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-13 12:30:32 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-13 21:41:41 -0400
commita823974b70433c6a99b9fad57689693d1299def7 (patch)
treefc3d366c5d1e6293581267f6f29fb70907dbfb13 /desktop-widgets/locationinformation.h
parent8815f77ea086ba474df051144098b80739a0f3ae (diff)
downloadsubsurface-a823974b70433c6a99b9fad57689693d1299def7.tar.gz
Dive site: don't use displayed_dive_site to store GPS coordinates
The displayed_dive_site object is used in the dive-site-edit widget to store the old (before-edit) data. But it was also used to store the GPS data when changed on the map or the input box. Very confusing. Instead, use the text field as only authoritative source of the GPS data. This introduces a small behavioral change: when changing the text of the GPS text field, update the list of dive sites at the same position. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/locationinformation.h')
0 files changed, 0 insertions, 0 deletions