Browse Source

Refresh the current folder to avoid still displaying moved asset

Josh Engebretson 10 years ago
parent
commit
c69b4277be
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Script/AtomicEditor/ui/frames/ProjectFrame.ts

+ 3 - 1
Script/AtomicEditor/ui/frames/ProjectFrame.ts

@@ -315,7 +315,9 @@ class ProjectFrame extends ScriptWidget {
 
 
             dragAsset.move(destPath + dragAsset.name + dragAsset.extension);
             dragAsset.move(destPath + dragAsset.name + dragAsset.extension);
 
 
-            return false;
+            this.refreshContent(this.currentFolder);
+
+            return true;
         }
         }
 
 
         // dropped some files?
         // dropped some files?