summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2017-06-24 00:20:21 +0200
committerAndreas Haas <liu.gam3@gmail.com>2017-06-24 15:37:27 +0200
commitcc2cd208708edfb7eeb7a6d53090c8c68f40b190 (patch)
treee26386bb28114f08985e25bcbc03000092bdb980
parente05621ba35b3f539569a91fa5125d39db467a97e (diff)
Capitalize template names in script dialog.
-rw-r--r--editor/script_create_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}
}