Merge pull request #83459 from KoBeWi/bug=false

Fix close button in FindReplaceBar
This commit is contained in:
Rémi Verschelde 2023-10-17 16:13:05 +02:00
commit 837f091f30
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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);
}