Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/editors/interface/interface_layout.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index d2bcbd19d2c..1bddb20553a 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -5279,14 +5279,6 @@ void UI_block_apply_search_filter(uiBlock *block)
block_search_remove_search_only_roots(block);
- if (UI_block_is_search_only(block)) {
- /* Make sure all of the block's buttons are hidden. They might not have
- * been hidden if a layout wasn't searched. */
- LISTBASE_FOREACH (uiBut *, but, &block->buttons) {
- but->flag |= UI_HIDDEN;
- }
- }
-
if (block->panel != NULL) {
ui_panel_set_search_filter_match(block->panel, has_result);
}