mesh_snap_utilities_line: Update keymap strings

The keymaps were changed in rB01d49d1542c which caused the
script_load_addons test to fail on this addon. Update the strings to the
new values.
This commit is contained in:
Nathan Craddock 2021-02-03 22:49:41 -07:00
parent 9d956493fb
commit 35d5df9bf4
1 changed files with 2 additions and 2 deletions

View File

@ -128,8 +128,8 @@ def register_keymaps():
#snap_modalkeymap.assign("MESH_OT_snap_utilities_line")
def unregister_keymaps():
keyconfigs = bpy.context.window_manager.keyconfigs
defaultmap = keyconfigs.get("blender").keymaps
addonmap = keyconfigs.get("blender addon").keymaps
defaultmap = keyconfigs.get("Blender").keymaps
addonmap = keyconfigs.get("Blender addon").keymaps
for keyconfig_data in keys.generate_snap_utilities_global_keymaps():
km_name, km_args, km_content = keyconfig_data