diff --git a/editor/limbo_ai_editor_plugin.cpp b/editor/limbo_ai_editor_plugin.cpp index f2d489f..292ae1e 100644 --- a/editor/limbo_ai_editor_plugin.cpp +++ b/editor/limbo_ai_editor_plugin.cpp @@ -971,6 +971,8 @@ void LimboAIEditor::_update_tabs() { String tab_name; if (history[i]->get_path().is_empty()) { tab_name = "[new]"; + } else if (history[i]->get_path().contains("::")) { + tab_name = history[i]->get_path().get_file(); } else { tab_name = history[i]->get_path().get_file().get_basename(); }