subsurface/mobile-widgets
Dirk Hohndel 65fe892cba 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>
2020-03-10 09:25:57 -07:00
..
qml mobile UI: set the correct location string when editing dives 2020-03-10 09:25:57 -07:00
CMakeLists.txt mobile-widgets: add themeInterface 2020-01-26 16:42:35 -08:00
qmlinterface.cpp mobile/summary: remove dive summary calculation 2020-02-08 10:29:36 -08:00
qmlinterface.h mobile/summary: remove dive summary calculation 2020-02-08 10:29:36 -08:00
qmlmanager.cpp mobile: replace undoDelete() with generic undo() 2020-03-10 09:25:57 -07:00
qmlmanager.h mobile: replace undoDelete() with generic undo() 2020-03-10 09:25:57 -07:00
themeinterface.cpp mobile UI: fix font size breakage on Android 2020-02-09 16:45:04 -08:00
themeinterface.h mobile-widgets/themeinterface: make most part static 2020-02-03 17:30:15 -08:00