From bc1a3889528df1235d1facfe99ebf8b167a06ef5 Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Wed, 2 Aug 2017 18:06:00 +0200 Subject: QML UI: dive edit autocomplete This makes sure that the autocompleting comboboxes never displays the scroll list where the user can pick an entry, and as such forces the view of a autocompleting textfield from the users point of view. The reasoning is that when scrolling in the drop down list it it possible to scroll to far and thus abort the ongoing edit by flicking away the edit page. Signed-off-by: Joakim Bygdell --- mobile-widgets/qml/HintsTextEdit.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/HintsTextEdit.qml b/mobile-widgets/qml/HintsTextEdit.qml index 4ed3b51ab..ff6dc75cb 100644 --- a/mobile-widgets/qml/HintsTextEdit.qml +++ b/mobile-widgets/qml/HintsTextEdit.qml @@ -14,7 +14,7 @@ TextField { onTextChanged: { textUpdateTimer.restart(); } - onFocusChanged: frame.shouldShow = focus + onFocusChanged: frame.shouldShow = false onVisibleChanged: { if (visible) { -- cgit v1.2.3-70-g09d2