summaryrefslogtreecommitdiffstats
path: root/editor/plugins/text_editor.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/plugins/text_editor.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/plugins/text_editor.cpp')
-rw-r--r--editor/plugins/text_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/text_editor.cpp b/editor/plugins/text_editor.cpp
index e19d9d933a..2aa04d7874 100644
--- a/editor/plugins/text_editor.cpp
+++ b/editor/plugins/text_editor.cpp
@@ -603,7 +603,7 @@ TextEditor::TextEditor() {
update_settings();
code_editor->get_text_editor()->set_context_menu_enabled(false);
- code_editor->get_text_editor()->connect("gui_input", callable_mp(this, &TextEditor::_text_edit_gui_input));
+ code_editor->get_text_editor()->connect(SceneStringName(gui_input), callable_mp(this, &TextEditor::_text_edit_gui_input));
context_menu = memnew(PopupMenu);
add_child(context_menu);