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 <j.bygdell@gmail.com>
This commit is contained in:
Joakim Bygdell 2017-08-02 18:06:00 +02:00 committed by Dirk Hohndel
parent a9348607e7
commit bc1a388952

View file

@ -14,7 +14,7 @@ TextField {
onTextChanged: {
textUpdateTimer.restart();
}
onFocusChanged: frame.shouldShow = focus
onFocusChanged: frame.shouldShow = false
onVisibleChanged: {
if (visible) {