Fix dev tools

This commit is contained in:
smartfridge 2022-11-20 19:25:34 +01:00 committed by GitHub
parent ddac01ee8f
commit 17c05fedd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ export async function setMenu() {
label: "Developer tools",
accelerator: "CmdOrCtrl+Shift+I",
click: function () {
mainWindow.webContents.toggleDevTools();
BrowserWindow.getFocusedWindow().toggleDevTools()
}
},
{