Remove duration upper limit from shotcut - thx Leon :)

Fix #5438
This commit is contained in:
niksedk 2021-11-03 12:11:41 +01:00
parent 3f52e118d2
commit 4c3e17ae29

View File

@ -26825,7 +26825,7 @@ namespace Nikse.SubtitleEdit.Forms
timeUpDownStartTime.MaskedTextBox.TextChanged += MaskedTextBoxTextChanged;
}
if (p.Duration.TotalSeconds < 0 || p.Duration.TotalSeconds > 10)
if (p.Duration.TotalSeconds < 0)
{
p.EndTime.TotalMilliseconds = p.StartTime.TotalMilliseconds + Utilities.GetOptimalDisplayMilliseconds(p.Text);
}