diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-02-22 14:07:46 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-10 09:25:57 -0700 |
commit | 0683d97636647f75c10aa9150e1ca8f2ab992a95 (patch) | |
tree | 3b87f681509228223e14d7f2174573273f98be3c /mobile-widgets/qml/DiveList.qml | |
parent | eaa1a5126bc0f50ba1e7ae59a895385b6d4e6614 (diff) | |
download | subsurface-0683d97636647f75c10aa9150e1ca8f2ab992a95.tar.gz |
mobile UI: save changes to trip details
The logic when we show the save button is a little fragile (and visually I'm not
sure I love the disabled button), but hey, this works.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 7013c8f28..86b361186 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -288,6 +288,7 @@ Kirigami.ScrollablePage { text: qsTr("Edit trip details") visible: currentItem && currentItem.myData && currentItem.myData.isTrip onTriggered: { + tripEditWindow.tripId = currentItem.myData.tripId tripEditWindow.tripLocation = currentItem.myData.tripLocation tripEditWindow.tripNotes = currentItem.myData.tripNotes pageStack.push(tripEditWindow) |