mirror of
https://github.com/heyman/heynote.git
synced 2024-11-21 23:43:22 +01:00
Fix About dialog on Windows
This commit is contained in:
parent
9e856a9521
commit
534f4f0b9b
@ -11,7 +11,7 @@ const template = [
|
||||
submenu: [
|
||||
{
|
||||
label: 'About',
|
||||
click:(menuItem, window, event) => {
|
||||
click: (menuItem, window, event) => {
|
||||
// open about window
|
||||
openAboutWindow()
|
||||
},
|
||||
@ -42,7 +42,13 @@ const template = [
|
||||
window?.webContents.send(OPEN_SETTINGS_EVENT)
|
||||
},
|
||||
},
|
||||
{ role: 'about' },
|
||||
{
|
||||
label: 'About',
|
||||
click: (menuItem, window, event) => {
|
||||
// open about window
|
||||
openAboutWindow()
|
||||
},
|
||||
},
|
||||
],
|
||||
}]),
|
||||
/*{
|
||||
|
Loading…
Reference in New Issue
Block a user