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