Minor fix in settings window

This commit is contained in:
Nikolaj Olsson 2016-09-06 06:14:57 +02:00
parent 96972b7a49
commit f96c9386e4
2 changed files with 6 additions and 0 deletions

View File

@ -531,6 +531,7 @@
0, 0,
0, 0,
0}); 0});
this.numericUpDownMaxNumberOfLines.ValueChanged += new System.EventHandler(this.numericUpDownMaxNumberOfLines_ValueChanged);
// //
// labelMaxLines // labelMaxLines
// //

View File

@ -2369,5 +2369,10 @@ namespace Nikse.SubtitleEdit.Forms
return true; return true;
} }
private void numericUpDownMaxNumberOfLines_ValueChanged(object sender, EventArgs e)
{
checkBoxSyntaxColorTextMoreThanTwoLines.Text = string.Format(Configuration.Settings.Language.Settings.SyntaxColorTextMoreThanMaxLines, numericUpDownMaxNumberOfLines.Value);
}
} }
} }