提交 471ef70b 编写于 作者: I isidor

Fix paste across folders

fixes #29626
上级 b2949445
...@@ -962,8 +962,7 @@ export class PasteFileAction extends BaseFileAction { ...@@ -962,8 +962,7 @@ export class PasteFileAction extends BaseFileAction {
} }
// Check if file was deleted or moved meanwhile // Check if file was deleted or moved meanwhile
const root: FileStat = this.element.root; const exists = fileToCopy.root.find(fileToCopy.resource);
const exists = root.find(fileToCopy.resource);
if (!exists) { if (!exists) {
fileToCopy = null; fileToCopy = null;
return false; return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册