From 1453888e029f3765f3dca7d562ee8ee50bc5f5d2 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 21 Mar 2020 09:46:04 -0700 Subject: 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 --- mobile-widgets/qml/TripDetails.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mobile-widgets/qml/TripDetails.qml') diff --git a/mobile-widgets/qml/TripDetails.qml b/mobile-widgets/qml/TripDetails.qml index bbf95cf23..ce1ba71dd 100644 --- a/mobile-widgets/qml/TripDetails.qml +++ b/mobile-widgets/qml/TripDetails.qml @@ -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 { -- cgit v1.2.3-70-g09d2