Skip to content

Commit

Permalink
fix: crash on some read-only grids
Browse files Browse the repository at this point in the history
  • Loading branch information
jtorjo committed Apr 29, 2024
1 parent 05ce678 commit ab4fb0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FastControls/FastGrid/Edit/FastGridViewEditRow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ internal void RecreateEditCells() {
foreach (var cell in oldCells)
_self.canvas.Children.Remove(cell);

foreach (var old in _editCells)
foreach (var old in _editCells.Where(cell => cell != null))
old.UnhandleInput();

_editCells.Clear();
Expand Down

0 comments on commit ab4fb0c

Please sign in to comment.