summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_text_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-29 21:34:59 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-29 21:34:59 +0100
commit9ab5cedef6de32826b9184e960b3880df3888a5a (patch)
tree56392d3be9a67f454d51d4d859a5844a0930c8ef /editor/plugins/script_text_editor.cpp
parent37e5a71f5da86c090850d8e30cdcc890dd903d61 (diff)
parent745f8e112fcf5d61e0fc377bdbc2539dd6b16ef9 (diff)
downloadredot-engine-9ab5cedef6de32826b9184e960b3880df3888a5a.tar.gz
Merge pull request #87712 from akien-mga/revert-gdscript-uid-annotations-for-now
Revert "Add UID support to GDScript files" (for now)
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r--editor/plugins/script_text_editor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp
index d8fb55ca54..c48cbd8c20 100644
--- a/editor/plugins/script_text_editor.cpp
+++ b/editor/plugins/script_text_editor.cpp
@@ -146,7 +146,6 @@ void ScriptTextEditor::set_edited_resource(const Ref<Resource> &p_res) {
ERR_FAIL_COND(p_res.is_null());
script = p_res;
- script->connect_changed(callable_mp((ScriptEditorBase *)this, &ScriptEditorBase::reload_text));
code_editor->get_text_editor()->set_text(script->get_source_code());
code_editor->get_text_editor()->clear_undo_history();