diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-15 06:36:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-15 06:36:04 +0300 |
commit | 1bb241437cf5ce16cbc83e228a0cde71ee7b37b1 (patch) | |
tree | f484ef1dcc45e224743a7a92c8dddfc28483f0a7 /source | |
parent | 92113e2da742e6b647578633a97ed6d16476fb97 (diff) |
Fix menu search using exec instead of invoke by default
Caused edit preferences not to open.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 1c1d7b8c766..6f6a4a1718a 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -7009,7 +7009,7 @@ static struct MenuSearch_Data *menu_items_from_ui_create(bContext *C, UI_block_flag_enable(block, UI_BLOCK_SHOW_SHORTCUT_ALWAYS); - uiLayoutSetOperatorContext(layout, WM_OP_EXEC_REGION_WIN); + uiLayoutSetOperatorContext(layout, WM_OP_INVOKE_REGION_WIN); UI_menutype_draw(C, mt, layout); UI_block_end(C, block); |