Stop auto duration if move current start/end - thx traycerb :)

Work on #7226
This commit is contained in:
niksedk 2023-09-08 20:16:13 +02:00
parent b7af81c1e8
commit ccc3eab6e6

View File

@ -20069,6 +20069,7 @@ namespace Nikse.SubtitleEdit.Forms
private void MoveStartCurrent(int ms, bool keepGapPrevIfClose)
{
StopAutoDuration();
var i = _subtitleListViewIndex;
if (i < 0 || i >= _subtitle.Paragraphs.Count || ms == 0)
{
@ -20181,6 +20182,7 @@ namespace Nikse.SubtitleEdit.Forms
private void MoveEndCurrent(int ms, bool keepGapNextIfClose)
{
StopAutoDuration();
var i = _subtitleListViewIndex;
if (i < 0 || i >= _subtitle.Paragraphs.Count || ms == 0)
{