summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-10-23 14:15:28 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2021-10-25 17:17:40 +0000
commit01f96b1764d0339aca2b7f2de4cef6b97047cb7b (patch)
treebdfb2db1493219af73e0f48f1ffe0f589a4174b0 /examples/widgets/doc
parente022ff0a8ef5c69f6d58d8c7030fe7a025402633 (diff)
Don't fire shortcut if the action only lives in an unreachable submenuHEADdev
Menus can be represented by a menu action, and if that menu action has been hidden or disabled, then the submenu is not accessible from the parent menu or menu bar to which it was added. Don't walk the menu action chain further when checking whether the shortcut should trigger. Note that this is unrelated to the menu being visible or not; we obviously want to trigger shortcuts for actions that only live in a menu that has not been shown, otherwise the shortcut would be rather pointless. Pick-to: 6.2 Fixes: QTBUG-25743 Change-Id: I48735e17352989bbc84a72263e4828f519b78095 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples/widgets/doc')
0 files changed, 0 insertions, 0 deletions