diff --git a/src/libse/Forms/RemoveTextForHISettings.cs b/src/libse/Forms/RemoveTextForHISettings.cs index 3652e58cc..c91e18429 100644 --- a/src/libse/Forms/RemoveTextForHISettings.cs +++ b/src/libse/Forms/RemoveTextForHISettings.cs @@ -35,7 +35,7 @@ namespace Nikse.SubtitleEdit.Core.Forms ColonSeparateLine = Configuration.Settings.RemoveTextForHearingImpaired.RemoveTextBeforeColonOnlyOnSeparateLine; RemoveWhereContains = Configuration.Settings.RemoveTextForHearingImpaired.RemoveIfContains; RemoveIfTextContains = new List(); - foreach (string item in Configuration.Settings.RemoveTextForHearingImpaired.RemoveIfContainsText.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries)) + foreach (var item in Configuration.Settings.RemoveTextForHearingImpaired.RemoveIfContainsText.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries)) { RemoveIfTextContains.Add(item.Trim()); } @@ -45,6 +45,7 @@ namespace Nikse.SubtitleEdit.Core.Forms RemoveTextBetweenBrackets = Configuration.Settings.RemoveTextForHearingImpaired.RemoveTextBetweenCurlyBrackets; RemoveTextBetweenQuestionMarks = Configuration.Settings.RemoveTextForHearingImpaired.RemoveTextBetweenQuestionMarks; RemoveTextBetweenParentheses = Configuration.Settings.RemoveTextForHearingImpaired.RemoveTextBetweenParentheses; + RemoveIfOnlyMusicSymbols = Configuration.Settings.RemoveTextForHearingImpaired.RemoveIfOnlyMusicSymbols; CustomStart = Configuration.Settings.RemoveTextForHearingImpaired.RemoveTextBetweenCustomBefore; CustomEnd = Configuration.Settings.RemoveTextForHearingImpaired.RemoveTextBetweenCustomAfter; var languageName = LanguageAutoDetect.AutoDetectGoogleLanguage(subtitle);