summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-05-05 22:26:19 +0200
committerRĂ©mi Verschelde <rverschelde@gmail.com>2023-05-12 12:07:01 +0200
commitd56c4f960cb5f386ba3561bbf3cf7ff98c7a6d9e (patch)
tree0c23bc7252d6cd62706ae043307b33b06dee92d7 /editor/plugins
parent19b998396c5caefe3beda9cb81337c5c7159519c (diff)
Remove erroneous signal connection
(cherry picked from commit 88ea3dd4db53cf817df10cec12d7b0c111e723c3)
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index ef86fd2a4c..d0d4c87c1c 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -4090,8 +4090,6 @@ ScriptEditor::ScriptEditor() {
Ref<EditorJSONSyntaxHighlighter> json_syntax_highlighter;
json_syntax_highlighter.instantiate();
register_syntax_highlighter(json_syntax_highlighter);
-
- EditorNode::get_singleton()->connect("scene_closed", callable_mp(this, &ScriptEditor::_close_builtin_scripts_from_scene));
}
ScriptEditor::~ScriptEditor() {