diff --git a/core/src/main.js b/core/src/main.js index 85c6dd1a..1d85aaab 100644 --- a/core/src/main.js +++ b/core/src/main.js @@ -78,9 +78,7 @@ class Comms { // BDIpc.on('bd-openCssEditor', (event, options) => this.bd.editor.openEditor(options), true); BDIpc.on('bd-native-open', (event, options) => { - dialog.showOpenDialog(OriginalBrowserWindow.fromWebContents(event.ipcEvent.sender), options, filenames => { - event.reply(filenames); - }); + event.reply(dialog.showOpenDialog(OriginalBrowserWindow.fromWebContents(event.ipcEvent.sender), options)); }); BDIpc.on('bd-compileSass', (event, options) => {