mobile/tripedit: close page after saving
That's consistent with how we do things on other pages. Also hide the on-screen keyboard. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fbea54f8dd
commit
1453888e02
@ -56,6 +56,8 @@ Kirigami.Page {
|
||||
onTriggered: {
|
||||
manager.appendTextToLog("Save trip details triggered")
|
||||
manager.updateTripDetails(tripId, tripLocationField.text, tripNotesField.text)
|
||||
Qt.inputMethod.hide()
|
||||
pageStack.pop("TripDetails")
|
||||
}
|
||||
}
|
||||
property QtObject cancelAction: Kirigami.Action {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user