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>2010-08-26 05:05:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-26 05:05:37 +0400
commite7c4a0d53b950e5be77528efad907def59d18a8f (patch)
treed9976137e57ea5f25e1e7f87eb951888241288c0 /release/scripts/ui/space_userpref_keymap.py
parentda2a2005c7542b364057824c459ae0bc5d0af289 (diff)
rna api - replace panel properties bl_default_closed and bl_show_header with bl_options which has 2 flags: 'DEFAULT_CLOSED' and 'HIDE_HEADER'.
this matches operators which also uses bl_options like this
Diffstat (limited to 'release/scripts/ui/space_userpref_keymap.py')
-rw-r--r--release/scripts/ui/space_userpref_keymap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/space_userpref_keymap.py b/release/scripts/ui/space_userpref_keymap.py
index ac6ac9ea238..6805646ded4 100644
--- a/release/scripts/ui/space_userpref_keymap.py
+++ b/release/scripts/ui/space_userpref_keymap.py
@@ -128,7 +128,7 @@ class InputKeyMapPanel(bpy.types.Panel):
bl_space_type = 'USER_PREFERENCES'
bl_label = "Input"
bl_region_type = 'WINDOW'
- bl_show_header = False
+ bl_options = {'HIDE_HEADER'}
def draw_entry(self, display_keymaps, entry, col, level=0):
idname, spaceid, regionid, children = entry