Fix bug #772: cannot change value after set NULL

This commit is contained in:
Ansgar Becker
2008-09-30 16:56:12 +00:00
parent af6948f706
commit 31ab8481aa

View File

@ -5884,6 +5884,7 @@ begin
Row := @FDataGridResult.Rows[Node.Index];
// Remember new value
Row.Cells[Column].NewText := NewText;
Row.Cells[Column].NewIsNull := False;
Row.Cells[Column].Modified := True;
// Set state of row for UPDATE mode, don't touch grsInserted
if Row.State = grsDefault then