Fix T69933: Blender 2.81 doesn't import 2.80 preferences from quick setup screen

This commit is contained in:
Brecht Van Lommel 2019-10-07 19:41:05 +02:00
parent e284654fbf
commit dccdc5df10
Notes: blender-bot 2023-02-14 05:53:38 +01:00
Referenced by issue #69933, Blender 2.81 doesn't import 2.80 settings
1 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,8 @@ class PREFERENCES_OT_copy_prev(Operator):
shutil.copytree(self._old_path(), self._new_path(), symlinks=True)
# reload recent-files.txt
# reload preferences and recent-files.txt
bpy.ops.wm.read_userpref()
bpy.ops.wm.read_history()
# don't loose users work if they open the splash later.