diff options
author | Hans Goudey <h.goudey@me.com> | 2020-10-06 00:23:21 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-10-06 00:23:21 +0300 |
commit | 3178dc25f6edc95d6de49ab2894303aedc0a23b3 (patch) | |
tree | 1e96bc7bc3f71cfa746a9a6686b036d19fb16798 /source/blender/editors/interface/interface_layout.c | |
parent | 7951312d4b5c99e97155b0ea02b5b1b21cdf6de8 (diff) |
Fix T81470: Buttons in closed panel visible during search
The buttons hide when the search finishes based on whether they are in
the "panel header" group. These buttons were not protected with a new
group. This adds a new group for operator button calls, and also makes
it so a new group is always created after the header buttons.
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index d0621051023..b13dd24ea4b 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -1163,8 +1163,8 @@ static uiBut *uiItemFullO_ptr_ex(uiLayout *layout, icon = ICON_BLANK1; } - /* create button */ UI_block_layout_set_current(block, layout); + ui_block_new_button_group(block, 0); const int w = ui_text_icon_width(layout, name, icon, 0); |