LCL: fix dbgrid not updating the editor while the record is modified, issue #0033281

git-svn-id: trunk@57428 -
This commit is contained in:
jesus 2018-03-01 23:42:21 +00:00
parent 3070f417a7
commit 632758d660

View File

@ -767,9 +767,12 @@ begin
UpdateActive
else begin
c := GetGridColumnFromField(Field);
if c>0 then
InvalidateCell(C, Row)
else
if c>0 then begin
if EditorMode then
RestoreEditor
else
InvalidateCell(C, Row)
end else
UpdateActive;
end;
end;