Commit f7e459e3 authored by Nate Graham's avatar Nate Graham
Browse files

[applets/clipboard] Clear search text when clearing all entries

There's no point in keeping the search text if you're clearing all
entries, since doing that removes all data that the search field would
be searching through.
parent 2b0ad193
......@@ -89,7 +89,10 @@ ColumnLayout {
PlasmaComponents3.ToolButton { "edit-clear-history"
onClicked: clipboardSource.service("", "clearHistory")
onClicked: {
clipboardSource.service("", "clearHistory")
PlasmaComponents3.ToolTip {
text: i18n("Clear history")
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