Browse Source

Fix location of Qt.inputMethod.hide()

QGC4.4
DonLakeFlyer 5 years ago
parent
commit
46b4e578c0
  1. 2
      src/QmlControls/QGCViewDialog.qml
  2. 1
      src/QmlControls/QGCViewDialogContainer.qml

2
src/QmlControls/QGCViewDialog.qml

@ -32,14 +32,12 @@ Item { @@ -32,14 +32,12 @@ Item {
function accept() {
if (acceptAllowed) {
Qt.inputMethod.hide()
hideDialog()
}
}
function reject() {
if (rejectAllowed) {
Qt.inputMethod.hide()
hideDialog()
}
}

1
src/QmlControls/QGCViewDialogContainer.qml

@ -86,6 +86,7 @@ Item { @@ -86,6 +86,7 @@ Item {
Connections {
target: _dialogComponentLoader.item
onHideDialog: {
Qt.inputMethod.hide()
mainWindowDialog.close()
}
}

Loading…
Cancel
Save