diff options
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c index 73c4e34f694..5098df2c0a6 100644 --- a/source/blender/windowmanager/intern/wm_keymap.c +++ b/source/blender/windowmanager/intern/wm_keymap.c @@ -599,7 +599,7 @@ static void wm_keymap_patch(wmKeyMap *km, wmKeyMap *diff_km) * exported with that user-defined shortcut already! * Maybe we should rather keep user-defined keymaps specific to a given base one? */ if (kmi_add != NULL && kmi_add == kmi_remove) { - kmi_add = kmi_remove = NULL; + kmi_remove = NULL; } /* only if nothing to remove or item to remove found */ else if (!kmi_add && (!kmdi->remove_item || kmi_remove)) { |