From 49550d9dd7bf368c811941928231fb873b6a99e9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 13 May 2019 13:49:40 +1000 Subject: UI: add load preferences operators to header Recent changes only included them in the side-bar. --- release/scripts/startup/bl_ui/space_userpref.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'release') 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): -- cgit v1.2.3