Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Commit

Permalink
clear the search results when the user starts typing
Browse files Browse the repository at this point in the history
  • Loading branch information
balcy committed Jan 31, 2021
1 parent 027d0f0 commit 22e9950
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/webbrowser/AddressBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ FocusScope {

anchors.fill: parent

onTextChanged: searchTextTimer.restart()
onTextChanged: {
if (editing) {
addressbar.text = "";
searchTextTimer.restart();
}
}

primaryItem: Item {
id: icons
Expand Down

0 comments on commit 22e9950

Please sign in to comment.