Fix FindReplaceBar losing focus too early

This commit is contained in:
kobewi 2023-09-08 14:38:44 +02:00
parent 8c1817f755
commit db4daa5249

View File

@ -483,7 +483,7 @@ void LineEdit::gui_input(const Ref<InputEvent> &p_event) {
}
if (k->is_action("ui_cancel")) {
release_focus();
callable_mp((Control *)this, &Control::release_focus).call_deferred();
return;
}