mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 15:02:35 +01:00
Avoid NullReferenceException - thx alfaproject :)
This commit is contained in:
parent
addc5f7151
commit
7f1f0c48cd
@ -195,7 +195,7 @@ namespace Nikse.SubtitleEdit.Controls
|
|||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value.TotalMilliseconds >= TimeCode.MaxTime.TotalMilliseconds - 0.1 || value == null)
|
if (value == null && value.TotalMilliseconds >= TimeCode.MaxTime.TotalMilliseconds - 0.1)
|
||||||
{
|
{
|
||||||
maskedTextBox1.Text = string.Empty;
|
maskedTextBox1.Text = string.Empty;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user