LCL, grids: Stop processing the key VK_ESCAPE in the editor if the user has already handled the event, issue #30044

git-svn-id: trunk@52749 -
This commit is contained in:
jesus 2016-07-25 18:49:56 +00:00
parent d447c14966
commit 12693f48c3

View File

@ -9689,8 +9689,10 @@ begin
VK_ESCAPE:
begin
doGridKeyDown;
SetEditText(FGrid.FEditorOldValue);
FGrid.EditorHide;
if key<>0 then begin
SetEditText(FGrid.FEditorOldValue);
FGrid.EditorHide;
end;
end;
else
doEditorKeyDown;