diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index b6d90a5bd2a4..014fe8a53000 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -761,7 +761,7 @@ FindReplaceBar::FindReplaceBar() { hide_button = memnew(TextureButton); add_child(hide_button); hide_button->set_focus_mode(FOCUS_NONE); - hide_button->connect("pressed", callable_mp(this, &FindReplaceBar::_hide_bar)); + hide_button->connect("pressed", callable_mp(this, &FindReplaceBar::_hide_bar).bind(false)); hide_button->set_v_size_flags(SIZE_SHRINK_CENTER); }