[Bf-blender-cvs] [49550d9dd7b] master: UI: add load preferences operators to header
Campbell Barton
noreply at git.blender.org
Mon May 13 05:50:30 CEST 2019
Commit: 49550d9dd7bf368c811941928231fb873b6a99e9
Author: Campbell Barton
Date: Mon May 13 13:49:40 2019 +1000
Branches: master
https://developer.blender.org/rB49550d9dd7bf368c811941928231fb873b6a99e9
UI: add load preferences operators to header
Recent changes only included them in the side-bar.
===================================================================
M release/scripts/startup/bl_ui/space_userpref.py
===================================================================
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):
More information about the Bf-blender-cvs
mailing list