UI: decorators hid non-array buttons

Error in last commit.
This commit is contained in:
Campbell Barton 2018-06-18 15:50:21 +02:00
parent 7356cec0c6
commit 762dec21f6
1 changed files with 1 additions and 1 deletions

View File

@ -1584,7 +1584,7 @@ void uiItemFullR(uiLayout *layout, PointerRNA *ptr, PropertyRNA *prop, int index
if (ui_decorate.use_prop_decorate) {
layout_row = uiLayoutRow(layout, true);
layout_row->space = 0;
ui_decorate.len = len;
ui_decorate.len = max_ii(1, len);
}
#endif /* UI_PROP_DECORATE */