mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Feature [0000307] Show icons for WFX plugins #2
This commit is contained in:
parent
22beeb4ae1
commit
9aa2cf276e
1 changed files with 6 additions and 9 deletions
|
|
@ -1775,17 +1775,14 @@ begin
|
|||
end;
|
||||
|
||||
{$IF DEFINED(MSWINDOWS)}
|
||||
if IconsMode = sim_all_and_exe then
|
||||
if (DirectAccess = False) and (AFile.Attributes = (FILE_ATTRIBUTE_NORMAL or FILE_ATTRIBUTE_VIRTUAL)) and Assigned(AFile.LinkProperty) then
|
||||
begin
|
||||
if (DirectAccess = False) and (AFile.Attributes = (FILE_ATTRIBUTE_NORMAL or FILE_ATTRIBUTE_VIRTUAL)) and Assigned(AFile.LinkProperty) then
|
||||
begin
|
||||
if not LoadIcon then
|
||||
Result := -1
|
||||
else begin
|
||||
Result := GetPluginIcon(AFile.LinkProperty.LinkTo, FiDefaultIconID);
|
||||
end;
|
||||
Exit;
|
||||
if not LoadIcon then
|
||||
Result := -1
|
||||
else begin
|
||||
Result := GetPluginIcon(AFile.LinkProperty.LinkTo, FiDefaultIconID);
|
||||
end;
|
||||
Exit;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue