From 6ff59b7e590be140781292206a55822742f2c8fa Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 9 Feb 2014 16:23:55 -0500 Subject: [PATCH] fixed image swap function in editor --- MediaBrowser.Controller/Entities/BaseItem.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index ad997779d1..72e7f5bf19 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/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);