diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-24 00:24:20 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-24 00:24:20 +0300 |
commit | 15afaa3db25a2416889abf39b800bca6d16f27d1 (patch) | |
tree | 5052e510d97a4a4fa0a562c22fdf710a502a19df /source/blender/editors/interface/interface_intern.h | |
parent | 23e4bbefae26838b7e677ae1676f2f0fe7a30d26 (diff) |
Property Search: Fix matches in headers not used for expansion
Setting the search match flag every time property search runs can
invalidate the results for panel headers. Instead, clear the flag on
every redraw and or the result of every search in the panel to it.
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index c233bebd88b..766c8f95565 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -820,7 +820,7 @@ extern void ui_draw_aligned_panel(const struct uiStyle *style, const bool show_pin, const bool show_background, const bool region_search_filter_active); -void ui_panel_set_search_filter_match(struct Panel *panel, const bool value); +void ui_panel_tag_search_filter_match(struct Panel *panel); /* interface_draw.c */ extern void ui_draw_dropshadow( |