mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Show overlay icons when load file list in thread
This commit is contained in:
parent
21bb3e16f9
commit
28b84a8884
1 changed files with 5 additions and 1 deletions
|
|
@ -2923,7 +2923,8 @@ begin
|
|||
begin
|
||||
AFile := FFiles[i];
|
||||
if (AFile.FSFile.Name <> '..') and
|
||||
(FileSource.CanRetrieveProperties(AFile.FSFile, FilePropertiesNeeded) or (AFile.IconID = -1)) then
|
||||
(FileSource.CanRetrieveProperties(AFile.FSFile, FilePropertiesNeeded) or
|
||||
(AFile.IconID = -1) or (AFile.IconOverlayID = -1)) then
|
||||
begin
|
||||
AFileList.AddClone(AFile, AFile);
|
||||
end;
|
||||
|
|
@ -2978,6 +2979,9 @@ begin
|
|||
if UpdatedFile.IconID <> -1 then
|
||||
OrigDisplayFile.IconID := UpdatedFile.IconID;
|
||||
|
||||
if UpdatedFile.IconOverlayID <> -1 then
|
||||
OrigDisplayFile.IconOverlayID := UpdatedFile.IconOverlayID;
|
||||
|
||||
MakeColumnsStrings(OrigDisplayFile);
|
||||
RedrawFile(OrigDisplayFile);
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue