diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-03 06:57:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-03 06:57:27 +0300 |
commit | e856eb7e8b65a7391c89b0938de49bb7d781f5dc (patch) | |
tree | b1cc79fc1632aeb646bfe7e6fa20e0b19a0432c0 /source/blender/editors/interface/resources.c | |
parent | be5482ba2fa788279434f46eacf504821d1c6223 (diff) |
UI: don't change the theme area when setting theme
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r-- | source/blender/editors/interface/resources.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index fb4d6e0ea14..d1d069be595 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -755,7 +755,9 @@ void ui_theme_init_default(void) UI_SetTheme(0, 0); /* make sure the global used in this file is set */ + const int active_theme_area = btheme->active_theme_area; memcpy(btheme, &U_theme_default, sizeof(*btheme)); + btheme->active_theme_area = active_theme_area; } void ui_style_init_default(void) |