Commit 2b0ad193 authored by Nate Graham's avatar Nate Graham
Browse files

[applets/clipboard] Don't disable toolbar if search field has text

Otherwise if you search for some text and it produces no results, the
search field becomes disabled so you can't change or clear your search
and use the applet again!
parent ff544ed5
......@@ -79,7 +79,7 @@ ColumnLayout {
property var header: PlasmaExtras.PlasmoidHeading {
RowLayout {
anchors.fill: parent
enabled: clipboardMenu.model.count > 0
enabled: clipboardMenu.model.count > 0 || filter.text.length > 0
PlasmaComponents3.TextField {
id: filter
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