Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Fix disambiguated filenames not updating on tab closure

donavank0eac070c3a77
diff --git a/editor/script/script_editor_plugin.cpp b/editor/script/script_editor_plugin.cpp
index dd67cb89ff6..df43bda6288 100644
--- a/editor/script/script_editor_plugin.cpp
+++ b/editor/script/script_editor_plugin.cpp
@@ -1319,7 +1319,7 @@ void DocumentEditorContainer::_close_tab(int p_idx, bool p_save) {
_update_history_arrows();
}
- document_list->update_list();
+ _update_filenames();
_save_layout();
_update_find_replace_bar();
}