Commit 4c753725 authored by Nate Graham's avatar Nate Graham
Browse files

Show actual shortcut for Refresh action's tooltip

BUG: 438916
FIXED-IN: 5.22.5
(cherry picked from commit 86e0ceaf)
parent 46e3cd9e
......@@ -105,9 +105,14 @@ Kirigami.ApplicationWindow
// on the view to refresh, and this is the common and expected behavior
//on that platform
visible: window.wideScreen
tooltip: shortcut
tooltip: shortcut.nativeText
shortcut: "Ctrl+R"
// Need to define an explicit Shortcut object so we can get its text
// using shortcut.nativeText
shortcut: Shortcut {
sequence: StandardKey.Refresh
onActivated: refreshAction.trigger()
}
}
Connections {
......
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