summaryrefslogtreecommitdiffstats
path: root/editor/editor_quick_open.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_quick_open.cpp')
-rw-r--r--editor/editor_quick_open.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_quick_open.cpp b/editor/editor_quick_open.cpp
index d7a02ace24..356055c457 100644
--- a/editor/editor_quick_open.cpp
+++ b/editor/editor_quick_open.cpp
@@ -293,7 +293,7 @@ EditorQuickOpen::EditorQuickOpen() {
search_box = memnew(LineEdit);
search_box->connect("text_changed", callable_mp(this, &EditorQuickOpen::_text_changed));
- search_box->connect("gui_input", callable_mp(this, &EditorQuickOpen::_sbox_input));
+ search_box->connect(SceneStringName(gui_input), callable_mp(this, &EditorQuickOpen::_sbox_input));
vbc->add_margin_child(TTR("Search:"), search_box);
register_text_enter(search_box);