mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 20:52:44 +01:00
Fix for fix regarding "Avoid NullReferenceException" - thx alfaproject :)
This commit is contained in:
parent
c83a2202cb
commit
595db02db8
@ -195,7 +195,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value == null && value.TotalMilliseconds >= TimeCode.MaxTime.TotalMilliseconds - 0.1)
|
||||
if (value == null || value.TotalMilliseconds >= TimeCode.MaxTime.TotalMilliseconds - 0.1)
|
||||
{
|
||||
maskedTextBox1.Text = string.Empty;
|
||||
return;
|
||||
|
@ -8617,8 +8617,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
private void ButtonUnBreakClick(object sender, EventArgs e)
|
||||
{
|
||||
timeUpDownStartTime.TimeCode = null;
|
||||
|
||||
if (SubtitleListview1.SelectedItems.Count > 1)
|
||||
{
|
||||
MakeHistoryForUndo(_language.BeforeRemoveLineBreaksInSelectedLines);
|
||||
|
Loading…
Reference in New Issue
Block a user