FIX: file relocate issue in FileView (eg. iCloud Drive)

This commit is contained in:
rich2014 2026-01-25 08:32:15 +08:00
commit c3d6a09ac6

View file

@ -886,7 +886,7 @@ begin
if PathIsAbsolute then
Result := (FFiles[Index].FSFile.FullPath = aFilePath)
else
Result := (FFiles[Index].FSFile.Name = aFilePath);
Result := (FileSource.GetFileName(FFiles[Index].FSFile) = aFilePath);
if Result then
begin
SetUpdate(Index);