mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 02:58:05 +02:00
IDE: Restore Ctrl-Enter shortcut in IdoOptionsDlg. Tweak the hint. Issue #40234.
This commit is contained in:
parent
94bd8f9aae
commit
d15afa2c7e
@ -24,7 +24,7 @@ inherited IDEOptionsDialog: TIDEOptionsDialog
|
||||
BorderSpacing.Bottom = 6
|
||||
BorderSpacing.Around = 0
|
||||
OKButton.Name = 'OKButton'
|
||||
OKButton.Hint = '[Enter]'
|
||||
OKButton.Hint = '[Enter,Ctrl+Enter]'
|
||||
OKButton.DefaultCaption = True
|
||||
HelpButton.Name = 'HelpButton'
|
||||
HelpButton.Hint = '[F1]'
|
||||
|
@ -366,6 +366,11 @@ begin
|
||||
CancelButtonClick(Sender);
|
||||
Key := 0;
|
||||
end
|
||||
else if (Key = VK_RETURN) and (Shift = [ssCtrl]) then
|
||||
begin
|
||||
OkButtonClick(Sender);
|
||||
Key := 0;
|
||||
end
|
||||
else if (Key = VK_RETURN) and (Shift = [ssShift]) then
|
||||
begin
|
||||
ApplyButtonClick(Sender);
|
||||
|
Loading…
Reference in New Issue
Block a user