Commit d070a0bf authored by Nate Graham's avatar Nate Graham Committed by Nathaniel Graham

Only show clear button when there's a search term

Test Plan: Tested in KDE Neon. Button now only shows up after the user has typed something

Reviewers: apol, #discover_software_store

Reviewed By: apol, #discover_software_store

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent c8d5c23d
......@@ -50,6 +50,7 @@ TextField
margins: Kirigami.Units.smallSpacing
iconName: "edit-clear"
visible: searchField.text != ""
onClicked: {
searchField.text = ""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment