Skip to content

Commit

Permalink
Add shortcut to TOptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Jun 17, 2024
1 parent 60ccc49 commit 7db7186
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Projects/Src/CompForm.pas
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,8 @@ constructor TCompileForm.Create(AOwner: TComponent);
don't conflict with the editor which also uses fake shortcuts for these }
SetFakeShortCut(POutputListCopy, Ord('C'), [ssCtrl]);
SetFakeShortCut(POutputListSelectAll, Ord('A'), [ssCtrl]);
{ Set real shortcut on TOptions which can't be set at design time }
TOptions.ShortCut := ShortCut(VK_OEM_COMMA, [ssCtrl]);

PopupMenu := TCompileFormPopupMenu.Create(Self, EMenu);

Expand Down
1 change: 1 addition & 0 deletions whatsnew.htm
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<p>Other changes:</p>
<ul>
<li>Moved the list of recently opened files into a new <i>Open Recent</i> submenu of the <i>Files</i> menu.</li>
<li>Added shortcut to the <i>Options</i> menu item in the <i>Tools</i> menu (Ctrl+,).</li>
<li>Minor tweaks and documentation improvements.</li>
</ul>

Expand Down

0 comments on commit 7db7186

Please sign in to comment.