Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ac23bf12 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Include a tooltip with the shortcut so the user can learn it

parent 5673ade2
......@@ -40,6 +40,9 @@ Kirigami.BasicListItem
Kirigami.MnemonicData.label: action.text
label: Kirigami.MnemonicData.richTextLabel
ToolTip.visible: hovered
ToolTip.text: action.shortcut || p0.sequence
readonly property var p0: Shortcut {
sequence: item.Kirigami.MnemonicData.sequence
onActivated: item.clicked()
......
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