Fix #109427: Shortcut missing in animation editors channel context menu #111376

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:109427 into main 2023-08-23 09:40:35 +02:00

1 Commits

Author SHA1 Message Date
Philipp Oeser f1d50eaef3 Fix #109427: Shortcut missing in animation editors channel context menu
Specifying the correct operator context (`INVOKE_REGION_CHANNELS` in
this case) is mandatory, otherwise looking up the shortcut in
`wm_keymap_item_find_props` will fetch the wrong region
(`RGN_TYPE_WINDOW` not `RGN_TYPE_CHANNELS`) and thus wont find the keymap
item in that region keymap.

This was already done for the other menus, not for the context menu
though.
2023-08-22 12:45:59 +02:00