Minor fix for "Remove text for HI" - thx igenaya :)

Fix #5050
This commit is contained in:
Nikolaj Olsson 2021-05-23 19:23:52 +02:00
parent 6bd5b09604
commit 50787ea424

View File

@ -877,6 +877,10 @@ namespace Nikse.SubtitleEdit.Core.Forms
string newText = stSub.StrippedText;
newText = RemoveHearImpairedTags(newText);
if (newText.IsOnlyControlCharactersOrWhiteSpace())
{
newText = string.Empty;
}
if (stSub.StrippedText.Length - newText.Length > 2)
{