From 4000cea7c89e3a74c0b9699bc65577de0f01092e Mon Sep 17 00:00:00 2001 From: Molunerfinn Date: Tue, 16 Apr 2019 10:45:09 +0800 Subject: [PATCH] :bug: Fix: upload-area can't upload images --- src/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index 395bb2f..1d4cabe 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -432,7 +432,7 @@ ipcMain.on('uploadClipboardFilesFromUploadPage', () => { }) ipcMain.on('uploadChoosedFiles', async (evt, files) => { - return uploadChoosedFiles(evt, files) + return uploadChoosedFiles(evt.sender, files) }) ipcMain.on('updateShortKey', (evt, oldKey) => {