Fix dev tools
This commit is contained in:
parent
ddac01ee8f
commit
17c05fedd3
|
@ -49,7 +49,7 @@ export async function setMenu() {
|
||||||
label: "Developer tools",
|
label: "Developer tools",
|
||||||
accelerator: "CmdOrCtrl+Shift+I",
|
accelerator: "CmdOrCtrl+Shift+I",
|
||||||
click: function () {
|
click: function () {
|
||||||
mainWindow.webContents.toggleDevTools();
|
BrowserWindow.getFocusedWindow().toggleDevTools()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue