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 authored and UniversalSuperBox committed May 14, 2021
1 parent 0163a04 commit b4a607e
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 b4a607e

Please sign in to comment.