Fix #80307: Underline shortcut not working in enum context menus #104433

Merged
Leon Schittek merged 2 commits from lone_noel/blender:fix-80307-activate-enums-in-popovers into main 2023-02-13 10:43:46 +01:00

2 Commits

Author SHA1 Message Date
Brecht Van Lommel 451c5f9706 Merge branch 'main' into fix-80307-activate-enums-in-popovers
buildbot/vexp-code-patch-coordinator Build done. Details
2023-02-13 09:25:13 +01:00
Leon Schittek 0bfeca5916 Fix #80307: Underline shortcut not working in enum context menus
The buttons of enum context menus are of type 'UI_BUT_ROW'. They
are part of the set of buttons we create underline shortcuts for in
'ui_menu_block_set_keyaccels'.
But since they weren't handled in 'ui_handle_button_activate_by_type',
pressing the underline shortcuts didn't do anyting in those cases.
2023-02-07 20:27:20 +01:00