From 7f70802b9025421d25ba63a9fe9932474ac1748c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 5 Feb 2016 10:49:43 -0800 Subject: QML UI: explicitly hide the keyboard when exiting dive edit If you save or cancel the dive edit, the keyboard should be closed. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetailsEdit.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-mobile/qml/DiveDetailsEdit.qml') diff --git a/qt-mobile/qml/DiveDetailsEdit.qml b/qt-mobile/qml/DiveDetailsEdit.qml index 0ae674681..3acf8ba98 100644 --- a/qt-mobile/qml/DiveDetailsEdit.qml +++ b/qt-mobile/qml/DiveDetailsEdit.qml @@ -183,6 +183,7 @@ Item { diveDetailsListView.currentItem.modelData.divemaster = detailsEdit.divemasterText diveDetailsListView.currentItem.modelData.notes = detailsEdit.notesText diveDetailsPage.state = "view" + Qt.inputMethod.hide() } } Item { -- cgit v1.2.3-70-g09d2