Remove accelerators from tray menu

Closes #239
This commit is contained in:
Kolja Lampe
2016-08-13 10:03:07 +02:00
committed by Kolja Lampe
parent 1d851fd6de
commit 92648d9067
2 changed files with 1 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ Release date: TBD
- Reload only the selected tab and keep its URL on "Reload" and "Clear Cache and Reload". - Reload only the selected tab and keep its URL on "Reload" and "Clear Cache and Reload".
- Disabled `eval()` function for security improvements. - Disabled `eval()` function for security improvements.
- Invalidate cache before load, to make server upgrades easy - Invalidate cache before load, to make server upgrades easy
- Removed misleading shortcuts from tray menu, as they didn't work
#### Windows #### Windows
- Update Mattermost icon for desktop notifications in Windows 10. - Update Mattermost icon for desktop notifications in Windows 10.

View File

@@ -11,7 +11,6 @@ function createTemplate(mainWindow, config) {
...config.teams.slice(0, 9).map((team, i) => { ...config.teams.slice(0, 9).map((team, i) => {
return { return {
label: team.name, label: team.name,
accelerator: `CmdOrCtrl+${i + 1}`,
click: (item, focusedWindow) => { click: (item, focusedWindow) => {
mainWindow.show(); // for OS X mainWindow.show(); // for OS X
mainWindow.webContents.send('switch-tab', i); mainWindow.webContents.send('switch-tab', i);