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 //remove the object from the grid as it's now dealt with
e.Cell.Row.Delete(false); MisMatches.RemoveAt(e.RowIndex);
ChangesMade = true; ChangesMade = true;
//If all done then close up //If all done then close up
if (grid.Rows.Count == 0) if (MisMatches.Count == 0)
this.Close(); Close();
else
grid.DataSource = MisMatches;//rebind to refresh the grid
} }
catch (Exception ex) catch (Exception ex)
{ {