mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: the issue that the List would refresh multiple times after updating the Archive (trigger EFileSourceOperationAborting)
This commit is contained in:
parent
3e869b4d9a
commit
a260581a01
2 changed files with 8 additions and 0 deletions
|
|
@ -656,6 +656,10 @@ end;
|
|||
|
||||
procedure TMultiArchiveFileSource.DoReload(const PathsToReload: TPathsArray);
|
||||
begin
|
||||
// reset FAttributeData (updated timestamp) in TArchiveFileSource
|
||||
// avoids Changed() still return True after ReadArchive()
|
||||
self.Changed;
|
||||
|
||||
ReadArchive;
|
||||
end;
|
||||
|
||||
|
|
|
|||
|
|
@ -984,6 +984,10 @@ end;
|
|||
|
||||
procedure TWcxArchiveFileSource.DoReload(const PathsToReload: TPathsArray);
|
||||
begin
|
||||
// reset FAttributeData (updated timestamp) in TArchiveFileSource
|
||||
// avoids Changed() still return True after ReadArchive()
|
||||
self.Changed;
|
||||
|
||||
ReadArchive;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue