diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2020-11-05 04:19:46 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2020-11-05 04:19:46 +0300 |
commit | 63f7e698292ae0c4827fd786d7addb7a665ff66b (patch) | |
tree | 7dc535ba9cf7cc85e122c2a3b3d4685fa9e52634 | |
parent | c23ee2a293481dc64ceea4e490ba55b793d614a6 (diff) |
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
-rw-r--r-- | source/blender/editors/interface/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index c4422c1068f..3ff65cccc21 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -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) { |