Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-05-13 05:44:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-13 05:46:15 +0300
commitac94c219aea80cb1eb494d03d42762ca5db931f3 (patch)
tree02bb3e2112d8b4526a415e8ba6db779f9d67577e /release
parentd7eed63b6d74332407a0744f0e0044ab13632702 (diff)
Prefernces: support loading last saved preferences
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 46cd4bfa904..204afca67bb 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -81,7 +81,9 @@ class USERPREF_PT_save_preferences(Panel):
layout.scale_x = 1.3
layout.scale_y = 1.3
- layout.operator("wm.save_userpref")
+ col = layout.column(align=True)
+ col.operator("wm.save_userpref")
+ col.operator("wm.read_userpref")
# Panel mix-in.