Fix T46691: Graph Editor, Channel, Toggle Channel Editability. Cannot reassign hotkey after removing it.

Anim Channels keymap is not editor-related...
This commit is contained in:
Bastien Montagne 2015-11-05 12:56:48 +01:00
parent fcf8f01ca0
commit cb39a4171b
Notes: blender-bot 2023-02-14 08:27:39 +01:00
Referenced by issue #46691, Graph Editor, Channel, Toggle Channel Editability. Cannot reassign hotkey after removing it.
1 changed files with 1 additions and 1 deletions

View File

@ -1797,7 +1797,7 @@ wmKeyMap *WM_keymap_guess_opname(const bContext *C, const char *opname)
}
/* Animation Editor Channels */
else if (STRPREFIX(opname, "ANIM_OT_channels")) {
km = WM_keymap_find_all(C, "Animation Channels", sl->spacetype, 0);
km = WM_keymap_find_all(C, "Animation Channels", 0, 0);
}
/* Animation Generic - after channels */
else if (STRPREFIX(opname, "ANIM_OT")) {