From 22e9950299f0f13702395958efbae67df5af46f4 Mon Sep 17 00:00:00 2001 From: Chris Clime Date: Sun, 31 Jan 2021 18:38:18 +0100 Subject: [PATCH] clear the search results when the user starts typing --- src/app/webbrowser/AddressBar.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/webbrowser/AddressBar.qml b/src/app/webbrowser/AddressBar.qml index 003504cca..bc1433ea9 100644 --- a/src/app/webbrowser/AddressBar.qml +++ b/src/app/webbrowser/AddressBar.qml @@ -85,7 +85,12 @@ FocusScope { anchors.fill: parent - onTextChanged: searchTextTimer.restart() + onTextChanged: { + if (editing) { + addressbar.text = ""; + searchTextTimer.restart(); + } + } primaryItem: Item { id: icons