diff options
author | Thomas Beck <software@plasmasolutions.de> | 2017-08-22 22:33:58 +0300 |
---|---|---|
committer | Thomas Beck <software@plasmasolutions.de> | 2017-08-22 22:35:09 +0300 |
commit | 980a8646d8d3b711da89794883294d6f90565f9c (patch) | |
tree | 72bc60f746c755929af5a60a0923f2a6bbef9441 /source/blender/editors/interface/interface_handlers.c | |
parent | f09dee5aed35ede00bdbaedba171ce24edf5e0b0 (diff) |
Fix T52466: Silence search for button_context menu type.
We were showing "search for unknown menutype WM_MT_button_context" messages in terminal which were not helpful for users, so now they are disabled.
To be backported to 2.79
Diffstat (limited to 'source/blender/editors/interface/interface_handlers.c')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 079b0b3a1c4..5834477cc59 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -7065,7 +7065,7 @@ static bool ui_but_menu(bContext *C, uiBut *but) } uiItemFullO(layout, "UI_OT_edittranslation_init", NULL, ICON_NONE, NULL, WM_OP_INVOKE_DEFAULT, 0); - mt = WM_menutype_find("WM_MT_button_context", false); + mt = WM_menutype_find("WM_MT_button_context", true); if (mt) { Menu menu = {NULL}; menu.layout = uiLayoutColumn(layout, false); |