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:
authorCampbell Barton <ideasman42@gmail.com>2020-02-03 09:58:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-03 09:58:38 +0300
commit68ab4dd28a22727d088b57a323b8b68284a0198e (patch)
treeb3493780c218dc68c69f2c7260af11cac20f5050 /source/blender/editors
parent3dc2b009ae8d5238cd2c27faa5aa5fe0cd88a498 (diff)
parent831bb6bc772ec69a3f6b4df46b8acf0933506fe7 (diff)
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_text/text_header.c4
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;