mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-17 21:19:16 +02:00
IDE: goto line: fixed escape and enter in gtk2
git-svn-id: trunk@60157 -
This commit is contained in:
parent
ab2d8d3746
commit
55867b798a
@ -51,7 +51,7 @@ implementation
|
|||||||
|
|
||||||
procedure TfrmGoto.Edit1KeyPress(Sender: TObject; var Key: char);
|
procedure TfrmGoto.Edit1KeyPress(Sender: TObject; var Key: char);
|
||||||
begin
|
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;
|
Key:=#0;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user