From d56c4f960cb5f386ba3561bbf3cf7ff98c7a6d9e Mon Sep 17 00:00:00 2001 From: kobewi Date: Fri, 5 May 2023 22:26:19 +0200 Subject: Remove erroneous signal connection (cherry picked from commit 88ea3dd4db53cf817df10cec12d7b0c111e723c3) --- editor/plugins/script_editor_plugin.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'editor') 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 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() { -- cgit v1.2.3