Emit window:loaded event after editor window is started

This commit is contained in:
Max Brunsfeld
2016-01-27 14:04:50 -08:00
parent 28e535ee15
commit 130f23166d
2 changed files with 1 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ module.exports = ({blobStore}) ->
atom.displayWindow().then ->
atom.startEditorWindow()
require('electron').ipcRenderer.send('window-command', 'window:loaded')
# Workaround for focus getting cleared upon window creation
windowFocused = ->