diff --git a/editor/export_template_manager.cpp b/editor/export_template_manager.cpp index d86a98aab1d..472e7641bcc 100644 --- a/editor/export_template_manager.cpp +++ b/editor/export_template_manager.cpp @@ -118,14 +118,14 @@ void ExportTemplateManager::_update_template_list() { } for (Set::Element *E = templates.back(); E; E = E->prev()) { + String text = E->get(); + if (text == current_version) { + continue; + } HBoxContainer *hbc = memnew(HBoxContainer); Label *version = memnew(Label); - version->set_modulate(get_color("disabled_font_color", "Editor")); - String text = E->get(); - if (text == current_version) { - text += " " + TTR("(Current)"); - } + version->set_modulate(current->get_color("disabled_font_color", "Editor")); version->set_text(text); version->set_h_size_flags(SIZE_EXPAND_FILL); hbc->add_child(version); @@ -677,7 +677,7 @@ ExportTemplateManager::ExportTemplateManager() { main_vb->add_margin_child(TTR("Current Version:"), current_hb, false); installed_scroll = memnew(ScrollContainer); - main_vb->add_margin_child(TTR("Installed Versions:"), installed_scroll, true); + main_vb->add_margin_child(TTR("Other Installed Versions:"), installed_scroll, true); installed_vb = memnew(VBoxContainer); installed_scroll->add_child(installed_vb);