IDE: Remove Ctrl-Enter shortcut from IdoOptionsDlg. It did not work. Issue #40234.

This commit is contained in:
Juha 2024-11-15 13:35:25 +02:00
parent 4452b7d447
commit b82cf7de6e
2 changed files with 1 additions and 6 deletions

View File

@ -24,7 +24,7 @@ inherited IDEOptionsDialog: TIDEOptionsDialog
BorderSpacing.Bottom = 6
BorderSpacing.Around = 0
OKButton.Name = 'OKButton'
OKButton.Hint = '[Ctrl+Enter]'
OKButton.Hint = '[Enter]'
OKButton.DefaultCaption = True
HelpButton.Name = 'HelpButton'
HelpButton.Hint = '[F1]'

View File

@ -366,11 +366,6 @@ 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);