mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 15:59:13 +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:
|
VK_ESCAPE:
|
||||||
begin
|
begin
|
||||||
doGridKeyDown;
|
doGridKeyDown;
|
||||||
SetEditText(FGrid.FEditorOldValue);
|
if key<>0 then begin
|
||||||
FGrid.EditorHide;
|
SetEditText(FGrid.FEditorOldValue);
|
||||||
|
FGrid.EditorHide;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
else
|
else
|
||||||
doEditorKeyDown;
|
doEditorKeyDown;
|
||||||
|
Loading…
Reference in New Issue
Block a user