diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-03 09:58:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-03 09:58:38 +0300 |
commit | 68ab4dd28a22727d088b57a323b8b68284a0198e (patch) | |
tree | b3493780c218dc68c69f2c7260af11cac20f5050 | |
parent | 3dc2b009ae8d5238cd2c27faa5aa5fe0cd88a498 (diff) | |
parent | 831bb6bc772ec69a3f6b4df46b8acf0933506fe7 (diff) |
Merge branch 'blender-v2.82-release'
-rw-r--r-- | source/blender/editors/space_text/text_header.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_text/text_header.c b/source/blender/editors/space_text/text_header.c index e2d2bb5ed64..846220b95ba 100644 --- a/source/blender/editors/space_text/text_header.c +++ b/source/blender/editors/space_text/text_header.c @@ -34,6 +34,8 @@ #include "WM_types.h" +#include "UI_interface.h" + #include "text_intern.h" /* ************************ header area region *********************** */ @@ -84,6 +86,8 @@ static int text_text_search_exec(bContext *C, wmOperator *UNUSED(op)) ED_region_toggle_hidden(C, ar); } + UI_panel_category_active_set(ar, "Text"); + /* cannot send a button activate yet for case when region wasn't visible yet */ /* flag gets checked and cleared in main draw callback */ st->flags |= ST_FIND_ACTIVATE; |