UI: invoke operators in search menu instead of execute

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D7639
This commit is contained in:
Jacques Lucke 2020-05-12 13:19:51 +02:00
parent 06763eace7
commit 07fc240d72
1 changed files with 1 additions and 1 deletions

View File

@ -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];