mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Minor fix for split / timed text 1.0 - thx Krystian :)
This commit is contained in:
parent
d73dbe337b
commit
a546bdacb1
@ -7238,6 +7238,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
var currentParagraph = _subtitle.GetParagraphOrDefault(firstSelectedIndex);
|
||||
var newParagraph = new Paragraph(currentParagraph);
|
||||
newParagraph.NewSection = false;
|
||||
|
||||
currentParagraph.Text = currentParagraph.Text.Replace("< /i>", "</i>");
|
||||
currentParagraph.Text = currentParagraph.Text.Replace("< i>", "<i>");
|
||||
@ -7476,6 +7477,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
originalCurrent.EndTime.TotalMilliseconds = currentParagraph.EndTime.TotalMilliseconds;
|
||||
var originalNew = new Paragraph(newParagraph);
|
||||
originalNew.NewSection = false;
|
||||
|
||||
lines = originalCurrent.Text.SplitToLines();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user