mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
[ImportText] - Clear Stringbuild instead reinstantiate.
This commit is contained in:
parent
202d22b1fe
commit
1a58d3e7f8
@ -327,8 +327,8 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (checkBoxAutoBreak.Enabled && checkBoxAutoBreak.Checked)
|
||||
text = Utilities.AutoBreakLine(text);
|
||||
_subtitle.Paragraphs.Add(new Paragraph { Text = text });
|
||||
sb.Clear();
|
||||
}
|
||||
sb = new StringBuilder();
|
||||
}
|
||||
else if (!ContainsLetters(line))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user