Skip to content

Commit

Permalink
open main window dev tools too
Browse files Browse the repository at this point in the history
  • Loading branch information
timche committed Mar 20, 2021
1 parent 1a9f831 commit 4d4563e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-main/app-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ export function initOrUpdateAppMenu() {
label: 'Developer Tools',
accelerator: is.macos ? 'Command+Alt+I' : 'Control+Shift+I',
click() {
getMainWindow().webContents.openDevTools({ mode: 'detach' })
const selectedAccountView = getSelectedAccountView()
if (selectedAccountView) {
selectedAccountView.webContents.openDevTools()
Expand Down

0 comments on commit 4d4563e

Please sign in to comment.