mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Fix a minor bug when adding a word to the user dictionary - thx sialivi
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@200 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
0fcbbcf3f3
commit
9e50eaa58f
@ -346,7 +346,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (_userWordList.IndexOf(ChangeWord) < 0)
|
||||
{
|
||||
_noOfAddedWords++;
|
||||
_userWordList.Add(ChangeWord);
|
||||
_userWordList.Add(ChangeWord.ToLower());
|
||||
XmlNode node = _userWordDictionary.CreateElement("word");
|
||||
node.InnerText = ChangeWord.Trim().ToLower();
|
||||
_userWordDictionary.DocumentElement.AppendChild(node);
|
||||
|
Loading…
Reference in New Issue
Block a user