mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Fixed #7 (moving end/start with ALT + mouse in frame mode)
This commit is contained in:
parent
80a5bb0017
commit
148982a118
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user