Fixed issue which only occurs when running Mono in which calling Add on a DataGridViewRowCollection could set the first row's cell to be in edit mode.

This commit is contained in:
SoujiSeta 2015-01-03 19:44:06 -06:00
parent e432e1755b
commit ba97983a7f

View file

@ -161,6 +161,7 @@ namespace PKHeX
dataGridView1.Columns.Add(dgvIndex); dataGridView1.Columns.Add(dgvIndex);
dataGridView1.Rows.Add(itemcount); dataGridView1.Rows.Add(itemcount);
dataGridView1.CancelEdit();
string itemname = ""; string itemname = "";
for (int i = 0; i < itemcount; i++) for (int i = 0; i < itemcount; i++)