py/ui edit: change InputKeyMapPanel to be a mix-in class only (not a subclass of...
authorCampbell Barton <ideasman42@gmail.com>
Thu, 19 May 2011 09:52:11 +0000 (09:52 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 19 May 2011 09:52:11 +0000 (09:52 +0000)
release/scripts/startup/bl_ui/space_userpref.py
release/scripts/startup/bl_ui/space_userpref_keymap.py

index bf396e9..cad5369 100644 (file)
@@ -752,7 +752,7 @@ class USERPREF_PT_file(bpy.types.Panel):
 from bl_ui.space_userpref_keymap import InputKeyMapPanel
 
 
-class USERPREF_PT_input(InputKeyMapPanel):
+class USERPREF_PT_input(bpy.types.Panel, InputKeyMapPanel):
     bl_space_type = 'USER_PREFERENCES'
     bl_label = "Input"
 
index 378fe23..982e19e 100644 (file)
@@ -138,7 +138,7 @@ class USERPREF_MT_keyconfigs(bpy.types.Menu):
         bpy.types.Menu.draw_preset(self, context)
 
 
-class InputKeyMapPanel(bpy.types.Panel):
+class InputKeyMapPanel:
     bl_space_type = 'USER_PREFERENCES'
     bl_label = "Input"
     bl_region_type = 'WINDOW'