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

This commit is contained in:
2019-10-07 19:41:05 +02:00
parent e284654fbf
commit dccdc5df10

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.