Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@
"toggleDevTools": "Toggle &DevTools",
"openConfigFolder": "Open &Configuration Folder",
"openLogViewer": "Open &Log Viewer",
"preferences": "Preferences",
"videoCallDevTools": "Open Video Call &DevTools",
"videoCallTools": "Video Call Tools",
"videoCallDevToolsAutoOpen": "Auto-open DevTools",
Expand Down
15 changes: 15 additions & 0 deletions src/ui/main/menuBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,21 @@ const createAppMenu = createSelector(
},
},
{ type: 'separator' },
{
id: 'preferences',
label: t('menus.preferences'),
accelerator: 'Command+,',
click: async () => {
const browserWindow = await getRootWindow();

if (!browserWindow.isVisible()) {
browserWindow.showInactive();
}
browserWindow.focus();
dispatch({ type: SIDE_BAR_SETTINGS_BUTTON_CLICKED });
},
},
{ type: 'separator' },
{
id: 'services',
label: t('menus.services'),
Expand Down
Loading