summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-08 07:58:23 -0600
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-03-19 12:01:14 -0700
commit7feb9a3b6e36e548cd84331134c15bf11a046ec9 (patch)
tree297501028a4d908d5e4d478d4fa4819f6392cfa9
parent9145ea209ffefedce3368a15f6227da82f1b95ce (diff)
downloadsubsurface-7feb9a3b6e36e548cd84331134c15bf11a046ec9.tar.gz
QML UI: drop focus when ComboBox element is picked
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qml/DiveDetailsEdit.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml
index 7a9e23ec2..ad49f1a7f 100644
--- a/mobile-widgets/qml/DiveDetailsEdit.qml
+++ b/mobile-widgets/qml/DiveDetailsEdit.qml
@@ -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 {