fixed image swap function in editor

This commit is contained in:
Luke Pulverenti 2014-02-09 16:23:55 -05:00
parent eaf1d39089
commit 6ff59b7e59

View File

@ -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);