diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-24 12:30:18 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-24 12:30:18 +0200 |
commit | d6cab65a279761d21a2300a8b2c56adcb3038239 (patch) | |
tree | bf41aedb4e24a5953e4f5212f0a1a42eecfeaaaf | |
parent | b81df7bd1a4164ff58fc13dc994773e36d722473 (diff) | |
download | kube-d6cab65a279761d21a2300a8b2c56adcb3038239.tar.gz kube-d6cab65a279761d21a2300a8b2c56adcb3038239.zip |
Fixed mouse selection
-rw-r--r-- | framework/qml/AutocompleteLineEdit.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/qml/AutocompleteLineEdit.qml b/framework/qml/AutocompleteLineEdit.qml index d6a32fbc..8bf4f530 100644 --- a/framework/qml/AutocompleteLineEdit.qml +++ b/framework/qml/AutocompleteLineEdit.qml | |||
@@ -140,6 +140,10 @@ Kube.TextField { | |||
140 | id: mouseArea | 140 | id: mouseArea |
141 | anchors.fill: parent | 141 | anchors.fill: parent |
142 | hoverEnabled: true | 142 | hoverEnabled: true |
143 | onClicked: { | ||
144 | listView.currentIndex = index | ||
145 | accept() | ||
146 | } | ||
143 | } | 147 | } |
144 | Kube.Label{ | 148 | Kube.Label{ |
145 | anchors { | 149 | anchors { |