Emit {will,did}SavePath events synchronously

This commit is contained in:
Antonio Scandurra
2016-05-25 00:11:30 +02:00
parent e57b35f8de
commit b84feeb853
2 changed files with 13 additions and 6 deletions

View File

@@ -268,7 +268,7 @@ class ApplicationDelegate
ipcRenderer.sendSync('get-auto-update-manager-error')
emitWillSavePath: (path) ->
ipcRenderer.send('will-save-path', path)
ipcRenderer.sendSync('will-save-path', path)
emitDidSavePath: (path) ->
ipcRenderer.send('did-save-path', path)
ipcRenderer.sendSync('did-save-path', path)