mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-05 07:28:42 +08:00
Fixed: bugs with imgFromClipboard
This commit is contained in:
+1
-1
@@ -327,7 +327,7 @@ const uploadClipboardFiles = async () => {
|
|||||||
} else {
|
} else {
|
||||||
win = settingWindow || window
|
win = settingWindow || window
|
||||||
}
|
}
|
||||||
let img = await new Uploader(undefined, 'imgFromClipboard', win.webContents).upload()
|
let img = await new Uploader(undefined, win.webContents).upload()
|
||||||
if (img !== false) {
|
if (img !== false) {
|
||||||
if (img.length > 0) {
|
if (img.length > 0) {
|
||||||
const pasteStyle = db.read().get('settings.pasteStyle').value() || 'markdown'
|
const pasteStyle = db.read().get('settings.pasteStyle').value() || 'markdown'
|
||||||
|
|||||||
Reference in New Issue
Block a user