IDEA-60084 Copy/Paste in Project pane does not duplicate a file
authorAlexey Pegov <alexey.pegov@jetbrains.com>
Wed, 20 Oct 2010 13:16:40 +0000 (17:16 +0400)
committerAlexey Pegov <alexey.pegov@jetbrains.com>
Wed, 20 Oct 2010 13:16:40 +0000 (17:16 +0400)
platform/lang-impl/src/com/intellij/ide/PsiCopyPasteManager.java

index 4c69bfccff8fc7b92017072c3df7ea65a6551525..a0a56ba13ab2dd773db771dadeb94fb9faf8a72b 100644 (file)
@@ -201,7 +201,7 @@ public class PsiCopyPasteManager {
         return getDataAsText();
       }
       if (DataFlavor.javaFileListFlavor.equals(flavor)) {
-        ApplicationManager.getApplication().runReadAction(new Computable<List<File>>() {
+        return ApplicationManager.getApplication().runReadAction(new Computable<List<File>>() {
           @Override
           public List<File> compute() {
             return asFileList(myDataProxy.getElements());