Don't show open dialog as sheet in devtools
This commit is contained in:
parent
ca40ea8e2f
commit
ef4014e14b
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ createMenu = (x, y, items, document) ->
|
|||
showFileChooserDialog = (callback) ->
|
||||
remote = require 'remote'
|
||||
dialog = remote.require 'dialog'
|
||||
files = dialog.showOpenDialog remote.getCurrentWindow(), null
|
||||
files = dialog.showOpenDialog {}
|
||||
callback pathToHtml5FileObject files[0] if files?
|
||||
|
||||
pathToHtml5FileObject = (path) ->
|
||||
|
|
Loading…
Reference in a new issue