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 06:49:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-13 06:49:40 +0300
commit49550d9dd7bf368c811941928231fb873b6a99e9 (patch)
tree89d27102a0e6ed34851d7e0e293e567980edcd1d /release
parenta279bbbee56ff941ab4ffc263027a7e154703e93 (diff)
UI: add load preferences operators to header
Recent changes only included them in the side-bar.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 020dca91f07..ca82c5fb264 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -38,7 +38,10 @@ class USERPREF_HT_header(Header):
layout.separator_spacer()
- layout.operator("wm.save_userpref")
+ row = layout.row(align=True)
+ row.operator("wm.save_userpref")
+ row.operator("wm.read_userpref")
+ row.operator("wm.read_factory_userpref")
class USERPREF_PT_navigation_bar(Panel):