Commit 67963c7c authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Notifications] Use action text for tooltip

And set Accessible.name
parent 0eac817d
......@@ -175,13 +175,13 @@ PlasmaComponents3.Page {
PlasmaComponents3.ToolButton {
visible: !(plasmoid.containmentDisplayHints & PlasmaCore.Types.ContainmentDrawsPlasmoidHeading)
Accessible.name: plasmoid.action("clearHistory").text
icon.name: "edit-clear-history"
enabled: plasmoid.action("clearHistory").visible
onClicked: action_clearHistory()
PlasmaComponents3.ToolTip {
text: i18n("Clear History")
text: parent.Accessible.name
}
}
}
......
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