mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
eaa1a5126b
commit
0683d97636
2 changed files with 65 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue