File Browser: Add Ctrl+F shortcut to activate filter textbox

Reviewers: Severin, brecht

Differential Revision: https://developer.blender.org/D6941
This commit is contained in:
2020-02-28 14:33:31 +01:00
parent e0f41d32c9
commit e8ab0137f8
5 changed files with 28 additions and 0 deletions

View File

@@ -1846,6 +1846,7 @@ def km_file_browser(params):
("file.delete", {"type": 'DEL', "value": 'PRESS'}, None),
("file.smoothscroll", {"type": 'TIMER1', "value": 'ANY', "any": True}, None),
("file.bookmark_add", {"type": 'B', "value": 'PRESS', "ctrl": True}, None),
("file.start_filter", {"type": 'F', "value": 'PRESS', "ctrl": True}, None),
("file.filenum", {"type": 'NUMPAD_PLUS', "value": 'PRESS'},
{"properties": [("increment", 1)]}),
("file.filenum", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True},