Commit: 204ded594d2cebcd695d3b701acc6c41acf24cc9
Author: Severin
Date: Sun Dec 30 17:46:55 2018 +0100
Branches: userpref_redesign
https://developer.blender.org/rB204ded594d2cebcd695d3b701acc6c41acf24cc9
Avoid empty panel bl_label
And remove unused operator execution context change.
===================================================================
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 d665df22651..75fddb84513 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -38,14 +38,13 @@ class USERPREF_HT_header(Header):
class USERPREF_PT_navigation(Panel):
- bl_label = ""
+ bl_label = "Preferences Navigation"
bl_space_type = 'PREFERENCES'
bl_region_type = 'NAVIGATION_BAR'
bl_options = {'HIDE_HEADER'}
def draw(self, context):
layout = self.layout
- layout.operator_context = 'EXEC_AREA'
prefs = context.preferences
@@ -57,7 +56,7 @@ class USERPREF_PT_navigation(Panel):
class USERPREF_PT_save_preferences(Panel):
- bl_label = ""
+ bl_label = "Save Preferences"
bl_space_type = 'PREFERENCES'
bl_region_type = 'EXECUTE'
bl_options = {'HIDE_HEADER'}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs