diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-13 08:51:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-13 08:51:49 +0300 |
commit | 3d923f3eaf998ebd73f6c93eb87a05288b579e22 (patch) | |
tree | 0f1a8937c839589936cab14ade2336fe8c1f3131 /source/blender/windowmanager/intern/wm_files.c | |
parent | 49550d9dd7bf368c811941928231fb873b6a99e9 (diff) |
Preferences: tag as dirty for add-ons & loading factory startup
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 0dc144ff0d7..b5ff7435d5f 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -1795,6 +1795,10 @@ static int wm_userpref_read_exec(bContext *C, wmOperator *op) wm_userpref_update_when_changed(C, bmain, &U_backup, &U); + if (use_factory_settings) { + U.runtime.is_dirty = true; + } + WM_event_add_notifier(C, NC_WINDOW, NULL); return OPERATOR_FINISHED; |