From cc2cd208708edfb7eeb7a6d53090c8c68f40b190 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Sat, 24 Jun 2017 00:20:21 +0200 Subject: Capitalize template names in script dialog. --- editor/script_create_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index dbd0758256..0f3f5500a8 100644 --- a/editor/script_create_dialog.cpp +++ b/editor/script_create_dialog.cpp @@ -245,7 +245,7 @@ void ScriptCreateDialog::_lang_changed(int l) { template_menu->clear(); template_menu->add_item(TTR("Default")); for (int i = 0; i < template_list.size(); i++) { - template_menu->add_item(template_list[i]); + template_menu->add_item(template_list[i].capitalize()); } } -- cgit v1.2.3