lcl: grids: don't apply editor value if ESC is pressed. Issue #29261, patch by abonic1

git-svn-id: trunk@51088 -
This commit is contained in:
ondrej 2015-12-31 08:22:57 +00:00
parent 181b205220
commit c93f1b0a8b

View File

@ -9613,7 +9613,10 @@ begin
VK_END, VK_HOME:
;
VK_ESCAPE:
FGrid.EditorHide;
begin
doGridKeyDown;
FGrid.EditorHide;
end;
else
doEditorKeyDown;
end;
@ -12233,7 +12236,10 @@ begin
VK_END, VK_HOME:
;
VK_ESCAPE:
FGrid.EditorHide;
begin
doGridKeyDown;
FGrid.EditorHide;
end;
else
doEditorKeyDown;
end;