From ba97983a7f5d0912e84649d61f7c89b47ecdaee5 Mon Sep 17 00:00:00 2001 From: SoujiSeta Date: Sat, 3 Jan 2015 19:44:06 -0600 Subject: [PATCH] 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. --- SAV/SAV_Inventory.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SAV/SAV_Inventory.cs b/SAV/SAV_Inventory.cs index 4bb7c2ea9..5c057c592 100644 --- a/SAV/SAV_Inventory.cs +++ b/SAV/SAV_Inventory.cs @@ -161,6 +161,7 @@ namespace PKHeX dataGridView1.Columns.Add(dgvIndex); dataGridView1.Rows.Add(itemcount); + dataGridView1.CancelEdit(); string itemname = ""; for (int i = 0; i < itemcount; i++)