forked from bartvdbraak/blender
Fix #28180: crash running wm.keyconfigs.user.keymaps.new("My Keymap").
There isn't much point in doing this at the moment, but shouldn't crash.
This commit is contained in:
parent
165e6dbc07
commit
9c9cd71a86
@ -1009,7 +1009,8 @@ void WM_keyconfig_update(wmWindowManager *wm)
|
||||
addonmap= WM_keymap_list_find(&wm->addonconf->keymaps, km->idname, km->spaceid, km->regionid);
|
||||
|
||||
/* diff */
|
||||
wm_keymap_diff_update(&U.user_keymaps, defaultmap, addonmap, km);
|
||||
if(defaultmap)
|
||||
wm_keymap_diff_update(&U.user_keymaps, defaultmap, addonmap, km);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user