diff options
author | Jacques Lucke <jacques@blender.org> | 2020-05-12 14:19:51 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-05-12 14:19:51 +0300 |
commit | 07fc240d72cdcfe3a11764a253f6ab06b0deed39 (patch) | |
tree | 9eaf49e6bfe4aebff954edb614a6cc092e1da5d7 | |
parent | 06763eace7233b921a8e7ba76bb7c00d8f3e0b68 (diff) |
UI: invoke operators in search menu instead of execute
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D7639
-rw-r--r-- | source/blender/editors/interface/interface_template_search_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_template_search_menu.c b/source/blender/editors/interface/interface_template_search_menu.c index d34a9552622..0a06f765c0e 100644 --- a/source/blender/editors/interface/interface_template_search_menu.c +++ b/source/blender/editors/interface/interface_template_search_menu.c @@ -361,7 +361,7 @@ static void menu_items_from_all_operators(bContext *C, struct MenuSearch_Data *d item->type = MENU_SEARCH_TYPE_OP; item->op.type = ot; - item->op.opcontext = WM_OP_EXEC_DEFAULT; + item->op.opcontext = WM_OP_INVOKE_DEFAULT; item->op.context = NULL; char idname_as_py[OP_MAX_TYPENAME]; |