mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
fixed image swap function in editor
This commit is contained in:
parent
eaf1d39089
commit
6ff59b7e59
@ -1351,9 +1351,7 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
|
|
||||||
FileSystem.SwapFiles(path1, path2);
|
FileSystem.SwapFiles(path1, path2);
|
||||||
|
|
||||||
info1.Path = path2;
|
// Refresh these values
|
||||||
info2.Path = path1;
|
|
||||||
|
|
||||||
info1.DateModified = FileSystem.GetLastWriteTimeUtc(info1.Path);
|
info1.DateModified = FileSystem.GetLastWriteTimeUtc(info1.Path);
|
||||||
info2.DateModified = FileSystem.GetLastWriteTimeUtc(info2.Path);
|
info2.DateModified = FileSystem.GetLastWriteTimeUtc(info2.Path);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user