Skip to content

Commit

Permalink
Fix FindReplaceBar losing focus too early
Browse files Browse the repository at this point in the history
  • Loading branch information
KoBeWi committed Sep 8, 2023
1 parent 8c1817f commit db4daa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/line_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit db4daa5

Please sign in to comment.