Revert "Fix #112441: Restore Key Map Item does not restore the active property"

This reverts commit bb39f4fa41.
This commit is contained in:
Campbell Barton 2023-10-24 15:16:39 +11:00
parent af629b8c20
commit 0f36ac4e66
1 changed files with 1 additions and 1 deletions

View File

@ -2089,7 +2089,7 @@ void WM_keymap_item_restore_to_default(wmWindowManager *wm, wmKeyMap *keymap, wm
kmi->keymodifier = orig->keymodifier;
kmi->maptype = orig->maptype;
kmi->flag = (kmi->flag & ~(KMI_REPEAT_IGNORE | KMI_INACTIVE)) |
(orig->flag & (KMI_REPEAT_IGNORE | KMI_INACTIVE));
(orig->flag & KMI_REPEAT_IGNORE);
WM_keyconfig_update_tag(keymap, kmi);
}