summaryrefslogtreecommitdiffstats
path: root/editor/find_in_files.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-14 14:21:31 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-06-19 09:39:05 +0200
commitd9e2fc74c73204d03a6d4431feef44085c7663df (patch)
treec4a72f36893f22c73668c80accec794a80fbfa78 /editor/find_in_files.cpp
parent0a83e7c5dac550afb26e26684cbb6e4d6c139f5e (diff)
downloadredot-engine-d9e2fc74c73204d03a6d4431feef44085c7663df.tar.gz
[Scene] Add `SceneStringNames::item_selected`
Diffstat (limited to 'editor/find_in_files.cpp')
-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 17b6eb5081..1e55010411 100644
--- a/editor/find_in_files.cpp
+++ b/editor/find_in_files.cpp
@@ -624,7 +624,7 @@ FindInFilesPanel::FindInFilesPanel() {
_results_display = memnew(Tree);
_results_display->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
_results_display->set_v_size_flags(SIZE_EXPAND_FILL);
- _results_display->connect("item_selected", callable_mp(this, &FindInFilesPanel::_on_result_selected));
+ _results_display->connect(SceneStringName(item_selected), callable_mp(this, &FindInFilesPanel::_on_result_selected));
_results_display->connect("item_edited", callable_mp(this, &FindInFilesPanel::_on_item_edited));
_results_display->set_hide_root(true);
_results_display->set_select_mode(Tree::SELECT_ROW);