summaryrefslogtreecommitdiffstats
path: root/editor/editor_command_palette.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-14 12:07:03 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-14 12:07:03 +0200
commitbdefe5399279ccc37d3f402215236a0ad9642b99 (patch)
tree35bf85a05f58b3f5d56232621205b1ea8b4ad275 /editor/editor_command_palette.cpp
parente58eb6a26763de8263ecc2eae93119e4817e4016 (diff)
parent413c11357d039a03a8dca440a01951a637ae936b (diff)
downloadredot-engine-bdefe5399279ccc37d3f402215236a0ad9642b99.tar.gz
Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
Use Core/Scene stringnames consistently
Diffstat (limited to 'editor/editor_command_palette.cpp')
-rw-r--r--editor/editor_command_palette.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_command_palette.cpp b/editor/editor_command_palette.cpp
index b963330fdc..badab92fb0 100644
--- a/editor/editor_command_palette.cpp
+++ b/editor/editor_command_palette.cpp
@@ -349,7 +349,7 @@ EditorCommandPalette::EditorCommandPalette() {
command_search_box = memnew(LineEdit);
command_search_box->set_placeholder(TTR("Filter Commands"));
- command_search_box->connect("gui_input", callable_mp(this, &EditorCommandPalette::_sbox_input));
+ command_search_box->connect(SceneStringName(gui_input), callable_mp(this, &EditorCommandPalette::_sbox_input));
command_search_box->connect("text_changed", callable_mp(this, &EditorCommandPalette::_update_command_search));
command_search_box->set_v_size_flags(Control::SIZE_EXPAND_FILL);
command_search_box->set_clear_button_enabled(true);