Commit 70611825 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Notifications] Remove action mnemonics from tooltip

Otherwise shows up as ampersand.

BUG: 407853
FIXED-IN: 5.16.0

Differential Revision:
parent f76c949d
......@@ -192,7 +192,10 @@ ColumnLayout{
PlasmaComponents.ToolButton {
iconName: "configure"
tooltip: plasmoid.action("openKcm").text
// remove mnemonics
tooltip: plasmoid.action("openKcm").text.replace(/([^&]*)&(.)([^&]*)/g, function (match, p1, p2, p3) {
return p1.concat(p2, p3);
visible: plasmoid.action("openKcm").enabled
onClicked: plasmoid.action("openKcm").trigger()
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