diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-14 12:07:03 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-14 12:07:03 +0200 |
commit | bdefe5399279ccc37d3f402215236a0ad9642b99 (patch) | |
tree | 35bf85a05f58b3f5d56232621205b1ea8b4ad275 /editor/plugins/script_text_editor.cpp | |
parent | e58eb6a26763de8263ecc2eae93119e4817e4016 (diff) | |
parent | 413c11357d039a03a8dca440a01951a637ae936b (diff) | |
download | redot-engine-bdefe5399279ccc37d3f402215236a0ad9642b99.tar.gz |
Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
Use Core/Scene stringnames consistently
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 09073262d7..191d58228b 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -2222,7 +2222,7 @@ void ScriptTextEditor::_enable_code_editor() { code_editor->get_text_editor()->connect("gutter_added", callable_mp(this, &ScriptTextEditor::_update_gutter_indexes)); code_editor->get_text_editor()->connect("gutter_removed", callable_mp(this, &ScriptTextEditor::_update_gutter_indexes)); code_editor->get_text_editor()->connect("gutter_clicked", callable_mp(this, &ScriptTextEditor::_gutter_clicked)); - code_editor->get_text_editor()->connect("gui_input", callable_mp(this, &ScriptTextEditor::_text_edit_gui_input)); + code_editor->get_text_editor()->connect(SceneStringName(gui_input), callable_mp(this, &ScriptTextEditor::_text_edit_gui_input)); code_editor->show_toggle_scripts_button(); _update_gutter_indexes(); |