Unverified Commit b2371899 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8824 from DonLakeFlyer/InputMethod

Fix location of Qt.inputMethod.hide()
parents 2fb34f4c 46b4e578
...@@ -32,14 +32,12 @@ Item { ...@@ -32,14 +32,12 @@ Item {
function accept() { function accept() {
if (acceptAllowed) { if (acceptAllowed) {
Qt.inputMethod.hide()
hideDialog() hideDialog()
} }
} }
function reject() { function reject() {
if (rejectAllowed) { if (rejectAllowed) {
Qt.inputMethod.hide()
hideDialog() hideDialog()
} }
} }
......
...@@ -86,6 +86,7 @@ Item { ...@@ -86,6 +86,7 @@ Item {
Connections { Connections {
target: _dialogComponentLoader.item target: _dialogComponentLoader.item
onHideDialog: { onHideDialog: {
Qt.inputMethod.hide()
mainWindowDialog.close() mainWindowDialog.close()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment