diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-02 14:00:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-02 14:00:43 +0300 |
commit | 2e15ee0dcfaab49970eb5490bd3683a770af149e (patch) | |
tree | 4a6c3b6f3d5685374579655dce3a94872d5c139d /source/blender/editors/space_file | |
parent | 3b0148d2aa4608dab2f456617a0fb1bcda8d2161 (diff) |
Keymap: add back X-Key for delete
This is needed as part of modeling work-flow, so keep it accessible.
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/space_file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index 3acbd97ff46..853d31edebf 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -506,9 +506,8 @@ static void file_keymap(struct wmKeyConfig *keyconf) kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", HKEY, KM_PRESS, 0, 0); RNA_string_set(kmi->ptr, "data_path", "space_data.params.show_hidden"); WM_keymap_add_item(keymap, "FILE_OT_directory_new", IKEY, KM_PRESS, 0, 0); -#ifdef USE_WM_KEYMAP_27X + WM_keymap_add_item(keymap, "FILE_OT_delete", XKEY, KM_PRESS, 0, 0); -#endif WM_keymap_add_item(keymap, "FILE_OT_delete", DELKEY, KM_PRESS, 0, 0); WM_keymap_verify_item(keymap, "FILE_OT_smoothscroll", TIMER1, KM_ANY, KM_ANY, 0); |