From d9afa1dd587f7232b0f053cbde8db69cf0e94ee3 Mon Sep 17 00:00:00 2001 From: kobewi Date: Mon, 16 Oct 2023 21:51:37 +0200 Subject: [PATCH] Fix close button in FindReplaceBar --- editor/code_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index b6d90a5bd2a..014fe8a5300 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); }