mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 06:08:12 +02:00
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:
parent
d447c14966
commit
12693f48c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user