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

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