Add reload menu item role
This commit is contained in:
parent
28c39d5151
commit
0698b5f1be
2 changed files with 7 additions and 6 deletions
|
@ -84,11 +84,7 @@ app.once('ready', () => {
|
|||
label: 'View',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Reload',
|
||||
accelerator: 'CmdOrCtrl+R',
|
||||
click (item, focusedWindow) {
|
||||
if (focusedWindow) focusedWindow.reload()
|
||||
}
|
||||
role: 'reload'
|
||||
},
|
||||
{
|
||||
label: 'Toggle Developer Tools',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue