diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2019-09-16 13:44:18 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2019-09-16 13:46:56 +0300 |
commit | af9ca138ba7bd3a050cc8cf7bba9928cd069bc5d (patch) | |
tree | 56bbd8d34c15e32f8d6e56a13cb788b3b0e3f508 /source | |
parent | 94ecad5809d00b60835ecec42bbd6a2a251e0760 (diff) |
Fix T69755: 'Enter' over file name not working
Was breaking event handling at the wrong place.
Diffstat (limited to 'source')
-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 cc13c4004a4..6b77a53d5d3 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -4217,9 +4217,8 @@ static int ui_do_but_TEX( } else if (!ui_but_extra_operator_icon_mouse_over_get(but, data, event)) { button_activate_state(C, but, BUTTON_STATE_TEXT_EDITING); + return WM_UI_HANDLER_BREAK; } - - return WM_UI_HANDLER_BREAK; } } else if (data->state == BUTTON_STATE_TEXT_EDITING) { |