Remove erroneous signal connection

(cherry picked from commit 88ea3dd4db)
This commit is contained in:
kobewi 2023-05-05 22:26:19 +02:00 committed by Rémi Verschelde
parent 19b998396c
commit d56c4f960c
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 0 additions and 2 deletions

View File

@ -4090,8 +4090,6 @@ ScriptEditor::ScriptEditor() {
Ref<EditorJSONSyntaxHighlighter> json_syntax_highlighter; Ref<EditorJSONSyntaxHighlighter> json_syntax_highlighter;
json_syntax_highlighter.instantiate(); json_syntax_highlighter.instantiate();
register_syntax_highlighter(json_syntax_highlighter); register_syntax_highlighter(json_syntax_highlighter);
EditorNode::get_singleton()->connect("scene_closed", callable_mp(this, &ScriptEditor::_close_builtin_scripts_from_scene));
} }
ScriptEditor::~ScriptEditor() { ScriptEditor::~ScriptEditor() {