mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 08:58:23 +02:00
Designer: AskCompNameDlg: Ctrl+Enter applies dialog: remove added NL
git-svn-id: trunk@58268 -
This commit is contained in:
parent
899367e92f
commit
265408a5af
@ -204,7 +204,10 @@ procedure TAskCompNameDialog.FormKeyDown(Sender: TObject; var Key: Word;
|
||||
Shift: TShiftState);
|
||||
begin
|
||||
if (Key=VK_RETURN) and (ssCtrl in Shift) then
|
||||
begin
|
||||
Key := 0;
|
||||
ButtonPanel1.OKButton.Click;
|
||||
end;
|
||||
end;
|
||||
|
||||
function TAskCompNameDialog.GetNewText: string;
|
||||
|
Loading…
Reference in New Issue
Block a user