You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Fix FindReplaceBar losing focus too early
This commit is contained in:
@@ -483,7 +483,7 @@ void LineEdit::gui_input(const Ref<InputEvent> &p_event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (k->is_action("ui_cancel")) {
|
if (k->is_action("ui_cancel")) {
|
||||||
release_focus();
|
callable_mp((Control *)this, &Control::release_focus).call_deferred();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user