Fixed and closed #519 : changed all occurrences of ToLower() into ToLowerInvariant().
This commit is contained in:
parent
072ee52d8f
commit
5f05cecc20
8 changed files with 15 additions and 15 deletions
|
@ -787,7 +787,7 @@ namespace ScrewTurn.Wiki {
|
|||
btnCancelTemplate_Click(sender, e);
|
||||
// If there's a category matching the selected template name, select it automatically
|
||||
for (int i = 0; i < lstCategories.Items.Count; i++) {
|
||||
if (lstCategories.Items[i].Value.ToLower().Trim() == lstTemplates.SelectedValue.ToLower().Trim()) {
|
||||
if(lstCategories.Items[i].Value.ToLowerInvariant().Trim() == lstTemplates.SelectedValue.ToLowerInvariant().Trim()) {
|
||||
lstCategories.Items[i].Selected = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue