浏览代码

Remove erroneous signal connection

(cherry picked from commit 88ea3dd4db53cf817df10cec12d7b0c111e723c3)
kobewi 2 年之前
父节点
当前提交
d56c4f960c
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      editor/plugins/script_editor_plugin.cpp

+ 0 - 2
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() {