Browse Source

fixed image swap function in editor

Luke Pulverenti 11 years ago
parent
commit
6ff59b7e59
1 changed files with 1 additions and 3 deletions
  1. 1 3
      MediaBrowser.Controller/Entities/BaseItem.cs

+ 1 - 3
MediaBrowser.Controller/Entities/BaseItem.cs

@@ -1351,9 +1351,7 @@ namespace MediaBrowser.Controller.Entities
 
             FileSystem.SwapFiles(path1, path2);
 
-            info1.Path = path2;
-            info2.Path = path1;
-
+            // Refresh these values
             info1.DateModified = FileSystem.GetLastWriteTimeUtc(info1.Path);
             info2.DateModified = FileSystem.GetLastWriteTimeUtc(info2.Path);