Merge pull request #1925 from ivandrofly/compare-6

[Compare] - Move syntaxcoloring to constructor.
This commit is contained in:
Nikolaj Olsson 2016-08-25 22:02:40 +02:00 committed by GitHub
commit 787e1ae72e

View File

@ -41,13 +41,12 @@ namespace Nikse.SubtitleEdit.Forms
UiUtil.InitializeSubtitleFont(subtitleListView1);
UiUtil.InitializeSubtitleFont(subtitleListView2);
UiUtil.FixLargeFonts(this, buttonOK);
subtitleListView1.UseSyntaxColoring = false;
subtitleListView2.UseSyntaxColoring = false;
}
public void Initialize(Subtitle subtitle1, string subtitleFileName1, string title)
{
subtitleListView1.UseSyntaxColoring = false;
subtitleListView2.UseSyntaxColoring = false;
Compare_Resize(null, null);
labelStatus.Text = string.Empty;
_subtitle1 = subtitle1;