Now that Kirigami's Action is a QQC2 Action subclass we can use
MenuItem's action property directly, removing the need for custom
bindings.
This fixes Kirigami ActionMenus not showing keyboard shortcuts for
actions, as that binding was missing.
mart |
Kirigami |
Now that Kirigami's Action is a QQC2 Action subclass we can use
MenuItem's action property directly, removing the need for custom
bindings.
This fixes Kirigami ActionMenus not showing keyboard shortcuts for
actions, as that binding was missing.
Applications' overflow menus and action submenus still work correctly.
Menu items for actions that have keyboard shortcuts now display them.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
+1
src/controls/private/ActionMenuItem.qml | ||
---|---|---|
26 | visible: action.visible === undefined || action.visible |