LCL, fix dbgrid insert operation, broken in previous patch, issue #17261

git-svn-id: trunk@27189 -
This commit is contained in:
jesus 2010-08-25 17:23:50 +00:00
parent b2be7fcdcc
commit aa000f9e7e

View File

@ -2031,7 +2031,7 @@ begin
doOnKeyDown; doOnKeyDown;
if Key<>0 then if Key<>0 then
if GridCanModify then begin if GridCanModify then begin
doOperation(opCancel); doOperation(opInsert);
Key:=0; Key:=0;
end; end;
end; end;