Error in recent popover width

This commit is contained in:
Campbell Barton 2018-06-13 11:57:09 +02:00
parent 0bce173bc7
commit ca7a93953a
1 changed files with 1 additions and 1 deletions

View File

@ -1985,7 +1985,7 @@ static uiBut *ui_item_menu(
h = UI_UNIT_Y;
if (layout->root->type == UI_LAYOUT_HEADER) { /* ugly .. */
if (icon == ICON_NONE) {
if (icon == ICON_NONE && force_menu) {
/* pass */
}
else if (force_menu) {