mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 05:02:25 +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);
|
Shift: TShiftState);
|
||||||
begin
|
begin
|
||||||
if (Key=VK_RETURN) and (ssCtrl in Shift) then
|
if (Key=VK_RETURN) and (ssCtrl in Shift) then
|
||||||
|
begin
|
||||||
|
Key := 0;
|
||||||
ButtonPanel1.OKButton.Click;
|
ButtonPanel1.OKButton.Click;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TAskCompNameDialog.GetNewText: string;
|
function TAskCompNameDialog.GetNewText: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user