grids: eat escape key only if handled by the editor

This commit is contained in:
Ondrej Pokorny 2021-11-18 15:13:56 +01:00
parent 21e9073aed
commit 28a1fe7da8

View File

@ -7670,6 +7670,7 @@ begin
end;
end;
VK_ESCAPE:
if (FEditor<>nil) and FEditor.Visible then
begin
EditordoResetValue;
EditorHide;