Fix T59293: Can't assign shortcut to undo history
This commit is contained in:
parent
e8cea26bd7
commit
77254df480
Notes:
blender-bot
2023-02-14 06:17:14 +01:00
Referenced by issue #59293, Cannot assign shortcut to undo history
|
@ -170,7 +170,9 @@ wmKeyMap *WM_keymap_guess_opname(const bContext *C, const char *opname)
|
|||
SpaceLink *sl = CTX_wm_space_data(C);
|
||||
|
||||
/* Window */
|
||||
if (STRPREFIX(opname, "WM_OT")) {
|
||||
if (STRPREFIX(opname, "WM_OT") ||
|
||||
STRPREFIX(opname, "ED_OT_undo"))
|
||||
{
|
||||
if (STREQ(opname, "WM_OT_tool_set_by_name")) {
|
||||
km = WM_keymap_guess_from_context(C);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue