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
1 changed files with 1 additions and 1 deletions

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()
}
},
{