mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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
|
verticalAlignment: TextInput.AlignVCenter
|
||||||
text: ""
|
text: ""
|
||||||
placeholderText: "Full text search"
|
placeholderText: "Full text search"
|
||||||
onTextChanged: {
|
onAccepted: {
|
||||||
rootItem.filterPattern = text
|
rootItem.filterPattern = text
|
||||||
diveModel.setFilter(text)
|
diveModel.setFilter(text)
|
||||||
numShown.text = diveModel.shown()
|
numShown.text = diveModel.shown()
|
||||||
|
|
Loading…
Add table
Reference in a new issue