Pass the native window object directly in native dialog API.
This commit is contained in:
parent
67f998357c
commit
5915591592
2 changed files with 36 additions and 41 deletions
|
@ -43,7 +43,7 @@ selectFileWrap = (window, options, callback, type, title) ->
|
|||
|
||||
callbackId = callbacksRegistry.add callback
|
||||
|
||||
fileDialog.selectFile window.getProcessId(), window.getRoutingId(),
|
||||
fileDialog.selectFile window,
|
||||
options.type,
|
||||
options.title,
|
||||
options.defaultPath,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue