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

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