Merge pull request #1630 from ivandrofly/slv

[SubtitleListView] - Remove extra column index from all lvi subitem
This commit is contained in:
Nikolaj Olsson 2016-03-15 05:00:50 +01:00
commit a0c127a630

View File

@ -765,9 +765,7 @@ namespace Nikse.SubtitleEdit.Controls
{
if (Items[i].SubItems.Count == ColumnIndexExtra + 1)
{
Items[i].SubItems[ColumnIndexExtra].Text = string.Empty;
Items[i].SubItems[ColumnIndexExtra].BackColor = BackColor;
Items[i].SubItems[ColumnIndexExtra].ForeColor = ForeColor;
Items[i].SubItems.RemoveAt(ColumnIndexExtra);
}
}
Columns.RemoveAt(ColumnIndexExtra);