diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-15 18:09:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-15 18:10:40 +0300 |
commit | 43d22d80e72d1a1bf49d33fc4f8bd1a031e3358b (patch) | |
tree | d1e3728b659ecea2f3e9de6740a9766b6edd64c4 /source | |
parent | d1485148216ba9b00ec8742da5baf44080403175 (diff) |
Keymap: use click event for tab-key
Checking release events would toggle edit-mode during alt-tab
cycling on X11.
Now both press and release events are needed.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/object/object_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_ops.c b/source/blender/editors/object/object_ops.c index af572824068..c5df7fc21f8 100644 --- a/source/blender/editors/object/object_ops.c +++ b/source/blender/editors/object/object_ops.c @@ -289,7 +289,7 @@ void ED_keymap_object(wmKeyConfig *keyconf) keymap = WM_keymap_find(keyconf, "Object Non-modal", 0, 0); /* modes */ - kmi = WM_keymap_add_item(keymap, "OBJECT_OT_mode_set", TABKEY, KM_RELEASE, 0, 0); + kmi = WM_keymap_add_item(keymap, "OBJECT_OT_mode_set", TABKEY, KM_CLICK, 0, 0); RNA_enum_set(kmi->ptr, "mode", OB_MODE_EDIT); RNA_boolean_set(kmi->ptr, "toggle", true); |