From 36f5967b9998fcb28829091608db504de166dd5b Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Mon, 27 Jun 2022 15:24:42 +0200 Subject: Fix T93650: Asset drag into catalogs broken, Industry Compatible keymap Issue was that the Industry Compatible keymap wouldn't select files on a mouse press, and since the dragged items are determined by the selection, nothing would be considered as dragged. Selecting items on mouse press happens since c606044157a3. I haven't heard of that issue happening in the Industry Compatible keymap. But if it did happen, it should be fixed too now. --- .../scripts/presets/keyconfig/keymap_data/industry_compatible_data.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'release/scripts/presets') 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 84602ece647..d60bbfed67a 100644 --- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py @@ -1246,8 +1246,7 @@ def km_file_browser_main(params): # The two refresh operators have polls excluding each other (so only one is available depending on context). ("file.refresh", {"type": 'R', "value": 'PRESS', "ctrl": True}, None), ("asset.library_refresh", {"type": 'R', "value": 'PRESS', "ctrl": True}, None), - ("file.select", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'}, None), - ("file.select", {"type": 'LEFTMOUSE', "value": 'CLICK'}, + ("file.select", {"type": 'LEFTMOUSE', "value": 'PRESS'}, {"properties": [("open", False), ("deselect_all", True)]}), ("file.select", {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True}, {"properties": [("extend", True), ("open", False)]}), -- cgit v1.2.3