Skip to content

Commit

Permalink
allow adding new rows to enum data
Browse files Browse the repository at this point in the history
  • Loading branch information
atenfyr committed Sep 24, 2021
1 parent b5cb1ac commit fba8121
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public void LoadFileAt(string filePath)
switch(ex)
{
case IOException _:
MessageBox.Show("Failed to open this file!", "Uh oh!");
MessageBox.Show("Failed to open this file! Please make sure the specified engine version is correct.", "Uh oh!");
break;
case FormatException formatEx:
MessageBox.Show("Failed to parse this file!\n" + formatEx.GetType() + ": " + formatEx.Message, "Uh oh!");
Expand Down
1 change: 0 additions & 1 deletion TableHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,6 @@ public void Load() // Updates the table with selected asset data
}

dataGridView1.Rows.AddRange(enumRows.ToArray());
dataGridView1.AllowUserToAddRows = false;
standardRendering = false;
break;
}
Expand Down

0 comments on commit fba8121

Please sign in to comment.