Commit 46b4e578 authored by DonLakeFlyer's avatar DonLakeFlyer

parent 79b05758
...@@ -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