fix: incorrectly mapped toggleDevTools in custom menu fiddle (#40703)
This commit is contained in:
parent
66b2f697ea
commit
80d85c0e8e
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ const template = [
|
||||||
})(),
|
})(),
|
||||||
click: (item, focusedWindow) => {
|
click: (item, focusedWindow) => {
|
||||||
if (focusedWindow) {
|
if (focusedWindow) {
|
||||||
focusedWindow.toggleDevTools()
|
focusedWindow.webContents.toggleDevTools()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue