From ccc3eab6e611a881dda1b9ddd2aa1ba69a94a77a Mon Sep 17 00:00:00 2001 From: niksedk Date: Fri, 8 Sep 2023 20:16:13 +0200 Subject: [PATCH] Stop auto duration if move current start/end - thx traycerb :) Work on #7226 --- src/ui/Forms/Main.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/Forms/Main.cs b/src/ui/Forms/Main.cs index 55c32914a..06ea48eec 100644 --- a/src/ui/Forms/Main.cs +++ b/src/ui/Forms/Main.cs @@ -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) {