Fixed #7 (moving end/start with ALT + mouse in frame mode)

This commit is contained in:
niksedk 2014-02-05 21:34:34 +01:00
parent 80a5bb0017
commit 148982a118

View File

@ -1255,8 +1255,6 @@ namespace Nikse.SubtitleEdit.Forms
_subtitle.Paragraphs[index] = paragraph;
_makeHistoryPaused = true;
MovePrevNext(e, paragraph, beforeParagraph, index);
Paragraph original = null;
if (_subtitleAlternate != null && SubtitleListview1.IsAlternateTextColumnVisible)
original = Utilities.GetOriginalParagraph(index, beforeParagraph, _subtitleAlternate.Paragraphs);
@ -1285,6 +1283,8 @@ namespace Nikse.SubtitleEdit.Forms
if (durationInSeconds >= numericUpDownDuration.Minimum && durationInSeconds <= numericUpDownDuration.Maximum)
SetDurationInSeconds((double)durationInSeconds);
MovePrevNext(e, paragraph, beforeParagraph, index);
if (original != null)
{
original.StartTime.TotalMilliseconds = paragraph.StartTime.TotalMilliseconds;