UPD: replace the check on TFileSystemFileSource with fspDirectAccess in cm_FileProperties and TestArchive.

This commit is contained in:
rich2014 2026-06-08 09:30:30 +08:00
commit f5b670bc2d
2 changed files with 2 additions and 2 deletions

View file

@ -189,7 +189,7 @@ begin
end
else
// if filesystem
if aFileView.FileSource.IsClass(TFileSystemFileSource) then
if fspDirectAccess in aFileView.FileSource.Properties then
begin
// If archives count > 1 then put to queue
if (aFiles.Count > 1) and (QueueIdentifier = FreeOperationsQueueId) then

View file

@ -4200,7 +4200,7 @@ var
begin
with frmMain do
begin
if ActiveFrame.FileSource.IsClass(TFileSystemFileSource) then
if fspDirectAccess in ActiveFrame.FileSource.Properties then
begin
SelectedFiles := ActiveFrame.CloneSelectedOrActiveFiles;
if Assigned(SelectedFiles) then