py/ui edit: change InputKeyMapPanel to be a mix-in class only (not a subclass of Panel), it messes up re-registering panels.
This commit is contained in:
parent
1dad9bf0bc
commit
fbdd33f62d
@ -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"
|
||||
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user