Skip to content

Commit

Permalink
Register local shortcuts when creating BrowserWindow object.
Browse files Browse the repository at this point in the history
This was reworked with brave@6d72210 and it was missed

Fixes brave#7491

Auditor: @bridiver, @jonathansampson
  • Loading branch information
bsclifton committed Mar 14, 2017
1 parent 02dff98 commit 5a889cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/browser/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ const api = {
})
})

LocalShortcuts.register(win)

appActions.windowCreated(windowValue)
})
win.once('show', () => {
Expand Down

0 comments on commit 5a889cc

Please sign in to comment.