diff options
author | Joakim Bygdell <j.bygdell@gmail.com> | 2017-08-02 18:06:00 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-08-02 18:49:47 -0700 |
commit | bc1a3889528df1235d1facfe99ebf8b167a06ef5 (patch) | |
tree | f44be58e939337b2453a8bd26378ebefd592144b | |
parent | a9348607e7b4239052718239ad944a228e694f03 (diff) | |
download | subsurface-bc1a3889528df1235d1facfe99ebf8b167a06ef5.tar.gz |
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>
-rw-r--r-- | mobile-widgets/qml/HintsTextEdit.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |