mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
Merge pull request #4926 from OmrSi/shortcut-not-affects-original-patch
Fix SetEndMinusGapAndStartNextHere not affecting original
This commit is contained in:
commit
bec8842040
@ -25106,15 +25106,16 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
SetDurationInSeconds((double)durationInSeconds);
|
||||
}
|
||||
|
||||
UpdateOriginalTimeCodes(oldParagraph);
|
||||
RestartHistory();
|
||||
|
||||
var next = _subtitle.GetParagraphOrDefault(index + 1);
|
||||
var oldNextParagraph = new Paragraph(next, false);
|
||||
if (next != null)
|
||||
{
|
||||
next.StartTime.TotalMilliseconds = totalMillisecondsEnd + MinGapBetweenLines;
|
||||
}
|
||||
|
||||
UpdateOriginalTimeCodes(oldParagraph, oldNextParagraph);
|
||||
SubtitleListview1.SelectIndexAndEnsureVisible(index + 1, true);
|
||||
ShowStatus(string.Format(_language.VideoControls.AdjustedViaEndTime, p.StartTime.ToShortString()));
|
||||
audioVisualizer.Invalidate();
|
||||
|
Loading…
Reference in New Issue
Block a user