diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-17 11:17:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-17 11:17:23 +0300 |
commit | e77821eecac6abca20e90b1975940b62091e10c8 (patch) | |
tree | 01f2092d4a171103ca0553063bdd6007b37b6ee2 /source/blender | |
parent | 841b0c2bf5851e784888805990690649e71fec48 (diff) | |
parent | 774b61189c9f371770b9970eb7b42dd502007d65 (diff) |
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 2b2d91f3a32..d2ae044ea46 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -9799,7 +9799,11 @@ static int ui_handle_menu_event(bContext *C, for (but = block->buttons.first; but; but = but->next) { bool doit = false; - if (!ELEM(but->type, UI_BTYPE_LABEL, UI_BTYPE_SEPR, UI_BTYPE_SEPR_LINE)) { + if (!ELEM(but->type, + UI_BTYPE_LABEL, + UI_BTYPE_SEPR, + UI_BTYPE_SEPR_LINE, + UI_BTYPE_IMAGE)) { count++; } |