mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Bug fixed: Unexpected Hearing Impaired remove
This commit is contained in:
parent
f5e280222d
commit
943f5c6def
@ -158,7 +158,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
public int RemoveTextFromHearImpaired()
|
||||
{
|
||||
_removeTextForHILib.Settings = GetSettings();
|
||||
int count = 0;
|
||||
for (int i = listViewFixes.Items.Count - 1; i >= 0; i--)
|
||||
{
|
||||
@ -166,10 +165,10 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (item.Checked)
|
||||
{
|
||||
Paragraph p = (Paragraph)item.Tag;
|
||||
string newText = _removeTextForHILib.RemoveTextFromHearImpaired(p.Text);
|
||||
string newText = columnHeaderAfter.Text;
|
||||
if (string.IsNullOrEmpty(newText))
|
||||
{
|
||||
_subtitle.Paragraphs.RemoveAt(i);
|
||||
_subtitle.Paragraphs.Remove(p);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user