[ImportText] - Clear Stringbuild instead reinstantiate.

This commit is contained in:
Ivandro Ismael 2016-07-04 17:50:49 +00:00
parent 202d22b1fe
commit 1a58d3e7f8
No known key found for this signature in database
GPG Key ID: A8832757DEFB7EDC

View File

@ -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))
{