Skip to content
Snippets Groups Projects
Commit d061f228 authored by Campbell Barton's avatar Campbell Barton
Browse files

fix for error loading api nav addon

parent cfb12a23
No related branches found
No related tags found
No related merge requests found
...@@ -659,7 +659,7 @@ class OBJECT_PT_api_navigator(ApiNavigator, bpy.types.Panel): ...@@ -659,7 +659,7 @@ class OBJECT_PT_api_navigator(ApiNavigator, bpy.types.Panel):
def register_keymaps(): def register_keymaps():
kc = bpy.context.window_manager.keyconfigs.addon kc = bpy.context.window_manager.keyconfigs.addon
km = kc.keymaps.new(name="Text", space_type="TEXT") km = kc.keymaps.new(name="Text", space_type='TEXT_EDITOR')
km.keymap_items.new('api_navigator.toggle_doc', 'ESC', 'PRESS') km.keymap_items.new('api_navigator.toggle_doc', 'ESC', 'PRESS')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment