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