From 4b03f2ac1ca8dc9fb87469780c8128c7a85a14b0 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 18 Oct 2018 06:47:45 -0400 Subject: [PATCH] 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 --- mobile-widgets/qml/DiveList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index dc805a394..d41057567 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -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()