diff options
author | Himanshi Kalra <calra> | 2021-07-26 10:08:38 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-07-26 10:36:11 +0300 |
commit | 60a0928f3559f72c8c4b686417ba01004ff996ec (patch) | |
tree | 7d2464994c0165455cb9371dbeb7450440b9297a | |
parent | 59b77cd68848e56461c36287eba713079135f071 (diff) |
Fix T85517: Cannot type Space while holding Shift key in text-field like spaces.
Fix for T85517
Bug: Couldn't type space while holding down the shift key in text spaces (e.g. when saving a file, changing the name of object).
Changes: Removing the key combination of Shift + space in `WM_event_is_ime_switch` method.
Reviewed By: harley, mont29
Maniphest Tasks: T85517
Differential Revision: https://developer.blender.org/D10452
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_query.c b/source/blender/windowmanager/intern/wm_event_query.c index 3efff20f107..b95bd49c750 100644 --- a/source/blender/windowmanager/intern/wm_event_query.c +++ b/source/blender/windowmanager/intern/wm_event_query.c @@ -486,7 +486,7 @@ int WM_event_absolute_delta_y(const struct wmEvent *event) bool WM_event_is_ime_switch(const struct wmEvent *event) { return event->val == KM_PRESS && event->type == EVT_SPACEKEY && - (event->ctrl || event->oskey || event->shift || event->alt); + (event->ctrl || event->oskey || event->alt); } #endif |