Skip to content

Commit

Permalink
Fix possible crash in "Batch convert" - thx FreezinG117 :)
Browse files Browse the repository at this point in the history
  • Loading branch information
niksedk committed Mar 14, 2017
1 parent b826b54 commit 01d188d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Controls/SubtitleListView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,10 @@ private void SubtitleListViewLastColumnFill(object sender, EventArgs e)
{
width += Columns[i].Width;
}
Columns[Columns.Count - 1].Width = Width - (width + 25);
if (Columns.Count > 0)
{
Columns[Columns.Count - 1].Width = Width - (width + 25);
}
}

public void SaveFirstVisibleIndex()
Expand Down

0 comments on commit 01d188d

Please sign in to comment.