diff --git a/src/effects/windowview/qml/main.qml b/src/effects/windowview/qml/main.qml index 82e61c3c70..b8afeeb91f 100644 --- a/src/effects/windowview/qml/main.qml +++ b/src/effects/windowview/qml/main.qml @@ -106,18 +106,13 @@ Item { OpacityAnimator { duration: container.effect.animationDuration; easing.type: Easing.OutCubic } } - // Binding loops will be avoided from the fact that setting the text to the same won't emit textChanged // We can't use activeFocus because is not reliable on qml effects - onTextChanged: { + text: effect.searchText + onTextEdited: { effect.searchText = text; heap.resetSelected(); heap.selectNextItem(WindowHeap.Direction.Down); } - Binding { - target: searchField - property: "text" - value: effect.searchText - } Keys.priority: Keys.AfterItem Keys.forwardTo: heap Keys.onPressed: {