subsurface/mobile-widgets/qml
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
..
icons mobile icons: add sigma svg 2020-01-28 15:34:14 -08:00
About.qml mobile-widgets/qml: add TemplateButton 2020-02-03 17:29:58 -08:00
CloudCredentials.qml mobile-widgets/qml: add TemplateButton 2020-02-03 17:29:58 -08:00
CopySettings.qml Mobile: UI for selecting what to copy-paste 2018-12-21 09:13:37 +02:00
DiveDetails.qml mobile UI: set the correct location string when editing dives 2020-03-10 09:25:57 -07:00
DiveDetailsEdit.qml mobile/undo: create EditDive command 2020-03-10 09:25:57 -07:00
DiveDetailsView.qml mobile/profile: make the wait before dragging even shorter 2020-02-25 10:17:57 -08:00
DiveList.qml mobile/divelist: better handling of selection change 2020-03-10 09:25:57 -07:00
DivePlannerEdit.qml mobile-widgets/qml: use Kirigami Units instead of hardcoded values 2020-01-24 20:20:41 -08:00
DivePlannerManager.qml mobile-widgets/qml: use Kirigami Units instead of hardcoded values 2020-01-24 20:20:41 -08:00
DivePlannerSetup.qml Mobile UI: fix typo in disabled planner setup 2020-03-04 08:03:44 -08:00
DivePlannerView.qml mobile-widgets/qml: use Kirigami Units instead of hardcoded values 2020-01-24 20:20:41 -08:00
DiveSummary.qml mobile/summary: remove some debug output 2020-02-10 08:02:56 -08:00
DownloadedDiveDelegate.qml Mobile: use appendTextToLog to get timestamps in logs 2019-11-03 04:02:00 -08:00
DownloadFromDiveComputer.qml mobile: random white space cleanup 2020-03-10 09:25:57 -07:00
Export.qml mobile/export: fix styling of radio buttons 2020-02-18 07:34:46 -08:00
GpsList.qml QML UI, trivial: set proper background color GPS list 2018-10-07 17:43:34 +03:00
HintsTextEdit.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
Log.qml mobile-widgets/qml: columnWidth undefined 2020-01-18 12:44:05 -08:00
main.qml mobile/divelist: add context drawer 2020-03-10 09:25:57 -07:00
MapPage.qml Mobile: don't make sub-pages fill the parent 2019-10-13 11:32:27 -07:00
mobile-resources.qrc mobile/resources: fix incorrectly coded XSLT stylesheets 2020-02-17 10:50:51 -08:00
qmldir mobile-widgets/qml: add qmldir to include map-widget 2019-11-26 09:44:13 -08:00
qtquickcontrols2.conf
Settings.qml mobile: remove filter settings 2020-03-01 10:21:44 -08:00
SsrfCheckBox.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
SsrfSwitch.qml Mobile UI: make SsrfSwitch resizable 2018-10-21 14:43:41 -04:00
SsrfTextField.qml Mobile: use appendTextToLog to get timestamps in logs 2019-11-03 04:02:00 -08:00
StartPage.qml mobile-widgets/qml: use strongly typed CloudStatus 2020-01-18 17:35:16 -08:00
TemplateButton.qml mobile-widgets/qml: add TemplateButton 2020-02-03 17:29:58 -08:00
TemplateCheckBox.qml mobile-widgets/qml: add TemplateCheckBox 2019-12-26 10:18:10 -08:00
TemplateComboBox.qml mobile-widgets: do not use fontmetric for height 2020-01-30 07:52:31 +02:00
TemplateLabel.qml mobile-widgets/qml: add background color property 2020-01-27 14:25:03 -08:00
TemplateLine.qml mobile-widgets/qml: add TemplateLine 2020-01-19 11:50:19 -08:00
TemplatePage.qml mobile UI: set correct width for TeplatePage 2020-02-06 21:45:00 -08:00
TemplateRadioButton.qml mobile-widgets/qml: add TemplateRadioButton 2019-12-26 10:18:10 -08:00
TemplateSection.qml mobile-widgets: update design of TemplateSection 2020-01-25 17:25:54 -08:00
TemplateSpinBox.qml mobile-widgets: update design of TemplateSpinBox 2020-01-25 17:25:23 -08:00
TemplateTextField.qml mobile-widgets/qml: add TemplateTextField 2020-01-19 11:50:10 -08:00
TemplateTitle.qml mobile-widgets/qml: correct spelling error 2020-01-27 14:25:03 -08:00
ThemeTest.qml mobile-widgets: switch to new subsurfaceTheme 2020-02-03 17:30:35 -08:00