From d6cab65a279761d21a2300a8b2c56adcb3038239 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 24 Jul 2018 12:30:18 +0200 Subject: Fixed mouse selection --- framework/qml/AutocompleteLineEdit.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'framework') 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 { id: mouseArea anchors.fill: parent hoverEnabled: true + onClicked: { + listView.currentIndex = index + accept() + } } Kube.Label{ anchors { -- cgit v1.2.3