diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-11 11:03:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-11 11:03:17 +0300 |
commit | e2c6cfec184336e6820e805c232a19ffb5f8bfd9 (patch) | |
tree | 5df6770f21c3c8dedb9056f26ebe9bd987d5162b | |
parent | 18ba66d75ee669bbb433c46ffc0d2516ff423b43 (diff) |
Preferences: tag as dirty when loading factory startup
-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 6a5800f4288..528d8dc3ca3 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -1959,6 +1959,10 @@ static int wm_homefile_read_exec(bContext *C, wmOperator *op) if (use_userdef) { wm_userpref_read_exceptions(&U, &U_backup); SET_FLAG_FROM_TEST(G.f, use_factory_settings, G_FLAG_USERPREF_NO_SAVE_ON_EXIT); + + if (use_factory_settings) { + U.runtime.is_dirty = true; + } } return OPERATOR_FINISHED; |