summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editor/find_in_files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/find_in_files.cpp b/editor/find_in_files.cpp
index cdac5a7f27..0bc9b0585c 100644
--- a/editor/find_in_files.cpp
+++ b/editor/find_in_files.cpp
@@ -596,7 +596,7 @@ FindInFilesPanel::FindInFilesPanel() {
_refresh_button = memnew(Button);
_refresh_button->set_text(TTR("Refresh"));
- _refresh_button->connect("pressed", this, "_on_refresh_button_clicked");
+ _refresh_button->connect_compat("pressed", this, "_on_refresh_button_clicked");
_refresh_button->hide();
hbc->add_child(_refresh_button);