mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-24 04:02:36 +01:00
parent
e3b12be717
commit
b0051c1b92
@ -6447,8 +6447,14 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
private void RefreshSelectedParagraph()
|
||||
{
|
||||
var idx = FirstSelectedIndex;
|
||||
var p = _subtitle.GetParagraphOrDefault(idx);
|
||||
_subtitleListViewIndex = -1;
|
||||
SubtitleListview1_SelectedIndexChanged(null, null);
|
||||
if (p != null)
|
||||
{
|
||||
SubtitleListview1.SetStartTimeAndDuration(idx, p, _subtitle.GetParagraphOrDefault(idx + 1), _subtitle.GetParagraphOrDefault(idx - 1));
|
||||
}
|
||||
}
|
||||
|
||||
private int GetPositionFromWordIndex(string text, int wordIndex)
|
||||
|
Loading…
Reference in New Issue
Block a user