diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-17 08:50:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-17 08:50:47 +0300 |
commit | 03faffa10b90d56150188502a3267458f1bfb6d4 (patch) | |
tree | d269cb19fb688085a8f3e6ab263de2b4e33527c5 | |
parent | f1f68b3f9aed3385bb57be37c31b26f6216f4f4b (diff) |
UI: support A-Z accelerator keys for pie menus
Converting menus to PIE's was removing convenient key accelerators.
-rw-r--r-- | source/blender/editors/interface/interface.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index c97f5ee8239..8cccf4e5309 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -979,7 +979,9 @@ static void ui_menu_block_set_keyaccels(uiBlock *block) UI_BTYPE_BUT_MENU, UI_BTYPE_MENU, UI_BTYPE_BLOCK, - UI_BTYPE_PULLDOWN) || + UI_BTYPE_PULLDOWN, + /* For PIE-menus. */ + UI_BTYPE_ROW) || (but->flag & UI_HIDDEN)) { /* pass */ } |