mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
[internal] - do restore only if deSelectedFixes contain 1 or more items
This commit is contained in:
parent
514b2f89a4
commit
1aa890de03
@ -4799,10 +4799,13 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
Next();
|
||||
|
||||
// restore de-selected fixes
|
||||
foreach (ListViewItem item in listViewFixes.Items)
|
||||
if (deSelectedFixes.Count > 0)
|
||||
{
|
||||
if (deSelectedFixes.Contains(item.SubItems[1].Text + item.SubItems[2].Text + item.SubItems[3].Text))
|
||||
item.Checked = false;
|
||||
foreach (ListViewItem item in listViewFixes.Items)
|
||||
{
|
||||
if (deSelectedFixes.Contains(item.SubItems[1].Text + item.SubItems[2].Text + item.SubItems[3].Text))
|
||||
item.Checked = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user