mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-08 01:46:16 +00:00
QML UI: drop focus when ComboBox element is picked
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9145ea209f
commit
7feb9a3b6e
1 changed files with 9 additions and 0 deletions
|
@ -239,6 +239,9 @@ Item {
|
||||||
manager.suitList : null
|
manager.suitList : null
|
||||||
inputMethodHints: Qt.ImhNoPredictiveText
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
onActivated: {
|
||||||
|
focus = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
|
@ -253,6 +256,9 @@ Item {
|
||||||
manager.buddyList : null
|
manager.buddyList : null
|
||||||
inputMethodHints: Qt.ImhNoPredictiveText
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
onActivated: {
|
||||||
|
focus = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
|
@ -267,6 +273,9 @@ Item {
|
||||||
manager.divemasterList : null
|
manager.divemasterList : null
|
||||||
inputMethodHints: Qt.ImhNoPredictiveText
|
inputMethodHints: Qt.ImhNoPredictiveText
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
onActivated: {
|
||||||
|
focus = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
|
|
Loading…
Add table
Reference in a new issue