Merge pull request #242 from Razzeee/remove-tray-accelerators

Remove accelerators from tray menu

Close #239
This commit is contained in:
Yuya Ochiai
2016-08-22 20:32:51 +09:00
2 changed files with 1 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ Release date: TBD
- Reload only the selected tab and keep its URL on "Reload" and "Clear Cache and Reload".
- Disabled `eval()` function for security improvements.
- Invalidate cache before load, to make server upgrades easy
- Removed misleading shortcuts from tray menu, as they didn't work
- Ctrl/Command+F puts cursor in search box to search in current channel.
#### Windows

View File

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