diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 901ac91a468..c540004d3fc 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -863,6 +863,10 @@ void ScriptEditor::_close_current_tab(bool p_save) { } void ScriptEditor::_close_discard_current_tab(const String &p_str) { + Ref