Skip to content

Commit

Permalink
Merge pull request #2915 from vector-im/dbkr/use_dev_tools_role
Browse files Browse the repository at this point in the history
Use the role for 'toggle dev tools'
  • Loading branch information
dbkr committed Jan 11, 2017
2 parents 278de13 + b71f96e commit 15528ef
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions electron/src/vectormenu.js
Expand Up @@ -72,11 +72,7 @@ const template = [
role: 'togglefullscreen'
},
{
label: 'Toggle Developer Tools',
accelerator: process.platform == 'darwin' ? 'Alt+Command+I' : 'Ctrl+Shift+I',
click: function(item, focusedWindow) {
if (focusedWindow) focusedWindow.toggleDevTools();
}
role: 'toggledevtools'
}
]
},
Expand Down

0 comments on commit 15528ef

Please sign in to comment.