diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-01-12 22:42:57 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-10 09:25:57 -0700 |
commit | 65fe892cba622ef2b9a5f7ec70e78eb98909f90c (patch) | |
tree | 6de296784689c62704ea33b1b218192f0e2dec15 /subsurface.desktop | |
parent | 28bf078ff7da221d4172fa64ad20c0a57218eaba (diff) | |
download | subsurface-65fe892cba622ef2b9a5f7ec70e78eb98909f90c.tar.gz |
mobile UI: set the correct location string when editing dives
In some situations we ended up with the wrong location name. One way to
reproduce the problem was to edit an existing dive location to be a substring
of an existing location name. Save the dive, then immediately edit it again.
The wrong location would be filled in.
The code here looks strange and unnecessary, but it seems to fix the issue.
The aliases don't seem to make the code any easier to understand. This replaces
them in the case of the location combo box with direct accesses to the data on
the DiveDetailsEdit page. It may be worth removing all of them. The
locationModel alias was unused.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.desktop')
0 files changed, 0 insertions, 0 deletions