diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2019-09-29 19:31:18 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2019-09-29 19:45:52 +0300 |
commit | f8b57dbb816c5f1d98ae593530e4a05432839ce0 (patch) | |
tree | 1b8e4476ca4841cefc0781bb8e5181e146ce223b /release | |
parent | 860854b07ffcac4fcdcdc479b88d4148a9f2a103 (diff) |
Keymaps: Don't show confirm prompt when creating directories
* We don't show the prompt when invoked through the button either
* Creating directories isn't a destructive action and it's not dangerous
* The prompt is annoying and users often requested getting rid of it
This change is applied to both, the default and the industry compatible
keymap.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 3 | ||||
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index c1d1d0c9915..f637aaa090f 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -1786,7 +1786,8 @@ def km_file_browser(params): ("file.next", {"type": 'BACK_SPACE', "value": 'PRESS', "shift": True}, None), ("wm.context_toggle", {"type": 'H', "value": 'PRESS'}, {"properties": [("data_path", 'space_data.params.show_hidden')]}), - ("file.directory_new", {"type": 'I', "value": 'PRESS'}, None), + ("file.directory_new", {"type": 'I', "value": 'PRESS'}, + {"properties": [("confirm", False)]}), ("file.smoothscroll", {"type": 'TIMER1', "value": 'ANY', "any": True}, None), ("file.bookmark_add", {"type": 'B', "value": 'PRESS', "ctrl": True}, None), ("file.filenum", {"type": 'NUMPAD_PLUS', "value": 'PRESS'}, diff --git a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py index 258ea44532b..5ce79936836 100644 --- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py @@ -1179,7 +1179,8 @@ def km_file_browser(params): ("file.refresh", {"type": 'R', "value": 'PRESS', "ctrl": True}, None), ("wm.context_toggle", {"type": 'H', "value": 'PRESS'}, {"properties": [("data_path", 'space_data.params.show_hidden')]}), - ("file.directory_new", {"type": 'I', "value": 'PRESS'}, None), + ("file.directory_new", {"type": 'I', "value": 'PRESS'}, + {"properties": [("confirm", False)]}), ("file.smoothscroll", {"type": 'TIMER1', "value": 'ANY', "any": True}, None), ("wm.context_toggle", {"type": 'T', "value": 'PRESS'}, {"properties": [("data_path", 'space_data.show_region_toolbar')]}), |