IDE: goto line: fixed escape and enter in gtk2

git-svn-id: trunk@60157 -
This commit is contained in:
mattias 2019-01-23 09:34:58 +00:00
parent ab2d8d3746
commit 55867b798a

View File

@ -51,7 +51,7 @@ implementation
procedure TfrmGoto.Edit1KeyPress(Sender: TObject; var Key: char);
begin
if not (Key in [^C,^V,^X,#8,'0'..'9']) then
if not (Key in [^C,^V,^X,#8,#13,#27,'0'..'9']) then
Key:=#0;
end;