mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Mobile/filtering: only filter when editing is finished
This is a usability / performance tradeoff. I like it better when it filters as I type, but on mobile this may make things feel sluggish. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f965492241
commit
c797038bd8
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ Kirigami.ScrollablePage {
|
|||
verticalAlignment: TextInput.AlignVCenter
|
||||
text: ""
|
||||
placeholderText: "Full text search"
|
||||
onTextChanged: {
|
||||
onAccepted: {
|
||||
rootItem.filterPattern = text
|
||||
diveModel.setFilter(text)
|
||||
numShown.text = diveModel.shown()
|
||||
|
|
Loading…
Reference in a new issue