LCL, fix problem in dbgrid accepting input chars even if editing field would not accept them

git-svn-id: trunk@28756 -
This commit is contained in:
jesus 2010-12-18 06:35:36 +00:00
parent c622f827ef
commit d5139c9bd5

View File

@ -7168,7 +7168,10 @@ begin
else begin else begin
AChar := Key; AChar := Key;
EditorCanProcessKey(AChar); EditorCanProcessKey(AChar);
Key := AChar[1]; if AChar='' then
Key := #0
else
Key := AChar[1];
end; end;
end; end;
FEditorKey := False; FEditorKey := False;