소스 검색

fixed image swap function in editor

Luke Pulverenti 11 년 전
부모
커밋
6ff59b7e59
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  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);