subsurface/mobile-widgets/qml
Jan Mulder ef543da5af mobile: clear internal data when edit/add dive is finished
When editing (or adding) a dive, the internal data containing the
attributes on the edit page was not cleared when editing was
finished (in any way, by saving the edit or by cancelling it).
As long as the user only edits existing dives, all this poses
no problem, as at the start of a dive edit, the data is filled
from the dive to be edited. However, when adding a dive, data
coming from previous edits shows up. This not clearing data
also causes the strange effect as written in issue #950: adding
a dive, deleting it, and adding a dive again, added the first
added dive data, without the edit screen being shown.

All this can be solved by clearing the data from the edit when
editing is done.

Fixes: #950

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-12-15 09:03:24 -08:00
..
icons map-widget: move the widget and its resources to 'map-widget' 2017-11-05 14:48:56 -08:00
About.qml QML UI: QtQuick.Layouts to 1.2 2017-11-19 12:20:43 -08:00
CloudCredentials.qml QML UI: QtQuick.Layouts to 1.2 2017-11-19 12:20:43 -08:00
dive.jpg Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
DiveDetails.qml mobile: clear internal data when edit/add dive is finished 2017-12-15 09:03:24 -08:00
DiveDetailsEdit.qml mobile: clear internal data when edit/add dive is finished 2017-12-15 09:03:24 -08:00
DiveDetailsView.qml QML UI: QtQuick.Layouts to 1.2 2017-11-19 12:20:43 -08:00
DiveList.qml QML UI: QtQuick.Controls to version 2.2 2017-11-19 12:20:43 -08:00
DownloadedDiveDelegate.qml QML UI: QtQuick.Controls to version 2.2 2017-11-19 12:20:43 -08:00
DownloadFromDiveComputer.qml mobile: reset download screen in a sane state 2017-12-13 08:23:27 -08:00
GpsList.qml QML UI: QtQuick.Layouts to 1.2 2017-11-19 12:20:43 -08:00
HintsTextEdit.qml QML UI: QtQuick.Controls to version 2.2 2017-11-19 12:20:43 -08:00
Log.qml QML UI: QtQuick.Layouts to 1.2 2017-11-19 12:20:43 -08:00
main.qml mobile: show message when going offline 2017-12-14 17:01:51 +01:00
mobile-resources.qrc QML UI: add missing icon 2017-10-09 22:01:12 -07:00
qtquickcontrols2.conf QML UI: Fully port dive edit to Kirigami2 2017-04-01 09:35:51 +02:00
Settings.qml QML UI: QtQuick.Layouts to 1.2 2017-11-19 12:20:43 -08:00
SsrfButton.qml QML UI: QtQuick to 2.6 2017-11-19 12:20:43 -08:00
SsrfCheckBox.qml QML UI: QtQuick to 2.6 2017-11-19 12:20:43 -08:00
SsrfSwitch.qml QML UI: QtQuick to 2.6 2017-11-19 12:20:43 -08:00
StartPage.qml QML UI: QtQuick.Layouts to 1.2 2017-11-19 12:20:43 -08:00
ThemeTest.qml QML UI: QtQuick.Layouts to 1.2 2017-11-19 12:20:43 -08:00