Browse Source

Fix build after merge of #36077

Rémi Verschelde 5 years ago
parent
commit
eced623c57
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/find_in_files.cpp

+ 1 - 1
editor/find_in_files.cpp

@@ -596,7 +596,7 @@ FindInFilesPanel::FindInFilesPanel() {
 
 
 		_refresh_button = memnew(Button);
 		_refresh_button = memnew(Button);
 		_refresh_button->set_text(TTR("Refresh"));
 		_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();
 		_refresh_button->hide();
 		hbc->add_child(_refresh_button);
 		hbc->add_child(_refresh_button);