UI: Fix Support for Anonymous Menu Separators

Re-enables support for menus to have items without identifier or name that can be used to separate sections.

Differential Revision: https://developer.blender.org/D9463

Reviewed by Hans Goudey
This commit is contained in:
Harley Acheson
2020-11-04 17:19:46 -08:00
parent c23ee2a293
commit 63f7e69829

View File

@@ -4261,8 +4261,8 @@ static void ui_def_but_rna__menu(bContext *UNUSED(C), uiLayout *layout, void *bu
0,
"");
}
uiItemS(column);
}
uiItemS(column);
}
else {
if (item->icon) {