mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
48695cda7c
commit
7f70802b90
2 changed files with 3 additions and 0 deletions
|
@ -183,6 +183,7 @@ Item {
|
|||
diveDetailsListView.currentItem.modelData.divemaster = detailsEdit.divemasterText
|
||||
diveDetailsListView.currentItem.modelData.notes = detailsEdit.notesText
|
||||
diveDetailsPage.state = "view"
|
||||
Qt.inputMethod.hide()
|
||||
}
|
||||
}
|
||||
Item {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue