Skip to content

Commit

Permalink
commit with windows line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
oheil committed Oct 26, 2019
1 parent 9a458c8 commit fb81b8b
Show file tree
Hide file tree
Showing 2 changed files with 1,551 additions and 1,548 deletions.
5 changes: 4 additions & 1 deletion GUI/doTimeTable/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,10 @@ public void EnableInstallMenuItem_fromThread()

public void UpdateDataGridView()
{
dataGridView1.Sort(dataGridView1.Columns[3], System.ComponentModel.ListSortDirection.Ascending);
if (dataGridView1.Columns.Count >= 3)
{
dataGridView1.Sort(dataGridView1.Columns[3], System.ComponentModel.ListSortDirection.Ascending);
}
foreach (DataGridViewRow row in dataGridView1.Rows)
{
SetStatusString(row);
Expand Down
Loading

0 comments on commit fb81b8b

Please sign in to comment.