This commit is contained in:
2022-07-10 22:38:18 +00:00
parent f382db809d
commit f1e92c8acb

View File

@@ -110,11 +110,13 @@ namespace AyaNovaQBI
}
//remove the object from the grid as it's now dealt with
e.Cell.Row.Delete(false);
MisMatches.RemoveAt(e.RowIndex);
ChangesMade = true;
//If all done then close up
if (grid.Rows.Count == 0)
this.Close();
if (MisMatches.Count == 0)
Close();
else
grid.DataSource = MisMatches;//rebind to refresh the grid
}
catch (Exception ex)
{