QML UI: drop focus when ComboBox element is picked

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-12-08 07:58:23 -06:00
parent 9145ea209f
commit 7feb9a3b6e

View file

@ -239,6 +239,9 @@ Item {
manager.suitList : null
inputMethodHints: Qt.ImhNoPredictiveText
Layout.fillWidth: true
onActivated: {
focus = false
}
}
Controls.Label {
@ -253,6 +256,9 @@ Item {
manager.buddyList : null
inputMethodHints: Qt.ImhNoPredictiveText
Layout.fillWidth: true
onActivated: {
focus = false
}
}
Controls.Label {
@ -267,6 +273,9 @@ Item {
manager.divemasterList : null
inputMethodHints: Qt.ImhNoPredictiveText
Layout.fillWidth: true
onActivated: {
focus = false
}
}
Controls.Label {