Revert "closes #273 Add a top level menu for new toot"

This commit is contained in:
AkiraFukushima 2018-05-28 08:37:16 +09:00 committed by GitHub
parent 1bcf507437
commit 064e899487
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 5 deletions

View File

@ -116,11 +116,16 @@ function createWindow () {
]
},
{
label: 'New Toot',
accelerator: 'CmdOrCtrl+N',
click: () => {
mainWindow.webContents.send('CmdOrCtrl+N')
}
label: 'Toot',
submenu: [
{
label: 'New Toot',
accelerator: 'CmdOrCtrl+N',
click: () => {
mainWindow.webContents.send('CmdOrCtrl+N')
}
}
]
},
{
label: 'Edit',