diff options
Diffstat (limited to 'release/scripts/ui/space_userpref_keymap.py')
-rw-r--r-- | release/scripts/ui/space_userpref_keymap.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/ui/space_userpref_keymap.py b/release/scripts/ui/space_userpref_keymap.py index a76b7249d5d..460ae88d1f7 100644 --- a/release/scripts/ui/space_userpref_keymap.py +++ b/release/scripts/ui/space_userpref_keymap.py @@ -763,7 +763,8 @@ class WM_OT_keyconfig_remove(bpy.types.Operator): bl_idname = "wm.keyconfig_remove" bl_label = "Remove Key Config" - def poll(self, context): + @staticmethod + def poll(context): wm = context.manager return wm.active_keyconfig.user_defined |