Capitalize template names in script dialog.

This commit is contained in:
Andreas Haas 2017-06-24 00:20:21 +02:00
parent e05621ba35
commit cc2cd20870
No known key found for this signature in database
GPG key ID: B5FFAE1B65FBD2E1

View file

@ -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());
}
}