Revert "Revert "Fix #112441: Restore Key Map Item does not restore the active property""
This reverts commit 0f36ac4e66.
This revert was only done for testing and wasn't ment to be pushed.
This commit is contained in:
@@ -2107,7 +2107,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);
|
||||
(orig->flag & (KMI_REPEAT_IGNORE | KMI_INACTIVE));
|
||||
|
||||
WM_keyconfig_update_tag(keymap, kmi);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user