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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-02-05 10:49:43 -08:00
parent 48695cda7c
commit 7f70802b90
2 changed files with 3 additions and 0 deletions

View file

@ -183,6 +183,7 @@ Item {
diveDetailsListView.currentItem.modelData.divemaster = detailsEdit.divemasterText
diveDetailsListView.currentItem.modelData.notes = detailsEdit.notesText
diveDetailsPage.state = "view"
Qt.inputMethod.hide()
}
}
Item {