Fixed loading of compare settings (bug in #2000 - #1990 should be ready soon)

This commit is contained in:
Nikolaj Olsson 2016-10-13 06:08:16 +02:00
parent e5aaa82e30
commit 87191e699b

View File

@ -1277,10 +1277,10 @@ namespace Nikse.SubtitleEdit.Core
XmlNode xnode = nodeCompare.SelectSingleNode("ShowOnlyDifferences");
if (xnode != null)
settings.Compare.ShowOnlyDifferences = Convert.ToBoolean(xnode.InnerText);
xnode = nodeCompare.SelectSingleNode("ShowOnlyDifferences");
xnode = nodeCompare.SelectSingleNode("OnlyLookForDifferenceInText");
if (xnode != null)
settings.Compare.OnlyLookForDifferenceInText = Convert.ToBoolean(xnode.InnerText);
xnode = nodeCompare.SelectSingleNode("ShowOnlyDifferences");
xnode = nodeCompare.SelectSingleNode("IgnoreLineBreaks");
if (xnode != null)
settings.Compare.IgnoreLineBreaks = Convert.ToBoolean(xnode.InnerText);
}