Skip to content
Snippets Groups Projects
Unverified Commit 1e41d695 authored by Michael Clark's avatar Michael Clark Committed by GitHub
Browse files

:electron: Added keyboard shortcuts reference to Help menu (#3100)

* adding keyboard shortcuts reference to help menu

* add release notes
parent 12f91f7d
No related branches found
No related tags found
No related merge requests found
......@@ -172,6 +172,21 @@ export function getMenu(
{
role: 'help',
submenu: [
{
label: 'Keyboard Shortcuts Reference',
accelerator: '?',
enabled: !!budgetId,
click: function (_menuItem, focusedWin) {
if (focusedWin) {
focusedWin.webContents.executeJavaScript(
'window.__actionsForMenu && window.__actionsForMenu.pushModal("keyboard-shortcuts")',
);
}
},
},
{
type: 'separator',
},
{
label: 'Learn More',
click() {
......
---
category: Enhancements
authors: [MikesGlitch]
---
Added Keyboard Shortcuts Reference to the Electron Help menu
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment