diff options
Diffstat (limited to 'source/blender/editors/interface/interface_handlers.c')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 5ab23ed3893..3a3259e8d1f 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -3830,8 +3830,7 @@ static int ui_do_but_HOTKEYEVT( ED_region_tag_redraw(data->region); if (event->val == KM_PRESS) { - if (ISHOTKEY(event->type)) { - + if (ISHOTKEY(event->type) && (event->type != ESCKEY)) { if (WM_key_event_string(event->type, false)[0]) ui_but_value_set(but, event->type); else |