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:
Dirk Hohndel 2020-03-21 09:46:04 -07:00
parent fbea54f8dd
commit 1453888e02

View file

@ -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 {