You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fixed clicking on Find/Replace doesn't set the focus on the text field
Fixed clicking on Find/Replace doesn't set the focus on the text field
This commit is contained in:
@@ -374,7 +374,7 @@ void FindReplaceBar::_hide_bar() {
|
||||
void FindReplaceBar::_show_search() {
|
||||
|
||||
show();
|
||||
search_text->grab_focus();
|
||||
search_text->call_deferred("grab_focus");
|
||||
|
||||
if (text_edit->is_selection_active() && !selection_only->is_pressed()) {
|
||||
search_text->set_text(text_edit->get_selection_text());
|
||||
|
||||
Reference in New Issue
Block a user