Fix T69755: 'Enter' over file name not working

Was breaking event handling at the wrong place.
This commit is contained in:
Julian Eisel 2019-09-16 12:44:18 +02:00
parent 94ecad5809
commit af9ca138ba
Notes: blender-bot 2023-02-14 00:50:49 +01:00
Referenced by commit 9c062ac310, Fix T72089: Image Editor - Paint mode, Clone Tool - disfunctional clear
Referenced by issue #69755, File Browser Shortcut "Enter" not working when mouse is in filename field
1 changed files with 1 additions and 2 deletions

View File

@ -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) {