Remember loaded extensions.
This commit is contained in:
parent
a59388ecdd
commit
8134585578
3 changed files with 66 additions and 21 deletions
|
@ -36,7 +36,7 @@ BrowserWindow::openDevTools = ->
|
|||
@devToolsWebContents.once 'destroyed', => @devToolsWebContents = null
|
||||
|
||||
# Emit devtools events.
|
||||
@emit 'dev-tools-opened'
|
||||
@devToolsWebContents.once 'did-finish-load', => @emit 'dev-tools-opened'
|
||||
@devToolsWebContents.once 'destroyed', => @emit 'dev-tools-closed'
|
||||
|
||||
BrowserWindow::toggleDevTools = ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue