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:
niksedk 2010-12-27 19:16:49 +00:00
parent 0fcbbcf3f3
commit 9e50eaa58f

View File

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