Minor fix for merge sentences - thx Leon :)

This commit is contained in:
Nikolaj Olsson 2021-05-08 16:58:19 +02:00
parent 01b6e9c1b3
commit f124df1cb3

View File

@ -30567,7 +30567,10 @@ namespace Nikse.SubtitleEdit.Forms
_subtitle.Paragraphs.Clear(); _subtitle.Paragraphs.Clear();
_subtitle.Paragraphs.AddRange(mergedSubtitle.Paragraphs); _subtitle.Paragraphs.AddRange(mergedSubtitle.Paragraphs);
_subtitle.Renumber(); _subtitle.Renumber();
var idx = FirstSelectedIndex;
SubtitleListview1.Fill(_subtitle, _subtitleOriginal); SubtitleListview1.Fill(_subtitle, _subtitleOriginal);
_subtitleListViewIndex = -1;
SubtitleListview1.SelectIndexAndEnsureVisibleFaster(idx);
} }
private void breaksplitLongLinesToolStripMenuItem_Click(object sender, EventArgs e) private void breaksplitLongLinesToolStripMenuItem_Click(object sender, EventArgs e)