diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-13 12:30:32 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-13 21:41:41 -0400 |
commit | a823974b70433c6a99b9fad57689693d1299def7 (patch) | |
tree | fc3d366c5d1e6293581267f6f29fb70907dbfb13 /qt-models | |
parent | 8815f77ea086ba474df051144098b80739a0f3ae (diff) | |
download | subsurface-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 'qt-models')
0 files changed, 0 insertions, 0 deletions