From 7feb9a3b6e36e548cd84331134c15bf11a046ec9 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 8 Dec 2017 07:58:23 -0600 Subject: QML UI: drop focus when ComboBox element is picked Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveDetailsEdit.qml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mobile-widgets/qml/DiveDetailsEdit.qml') 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 { -- cgit v1.2.3-70-g09d2