Merge branch 'blender-v2.83-release'

This commit is contained in:
Campbell Barton 2020-04-17 18:17:23 +10:00
commit e77821eeca
1 changed files with 5 additions and 1 deletions

View File

@ -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++;
}