From 1715d09d7c9506ed77af69571ab739a48a972514 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 5 Sep 2019 03:16:52 +1000 Subject: Cleanup: userpref UI options into their own struct Mixing options for showing preferences with other flags was confusing. --- source/blender/windowmanager/intern/wm_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/windowmanager') diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index af841f20620..c7f38a7f53b 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -1767,7 +1767,7 @@ static void wm_userpref_read_exceptions(UserDef *userdef_curr, const UserDef *us ((void)0) /* Current visible preferences category. */ - USERDEF_RESTORE(userpref); + USERDEF_RESTORE(space_data.section_active); #undef USERDEF_RESTORE } -- cgit v1.2.3