mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: update unique Icon of file after updated in TFileView.UpdateFile() on macOS
This commit is contained in:
parent
ae0ec15558
commit
b9d9ec7cd4
1 changed files with 5 additions and 0 deletions
|
|
@ -1312,6 +1312,11 @@ begin
|
|||
end;
|
||||
end;
|
||||
ADisplayFile.TextColor := clNone;
|
||||
{$IFDEF DARWIN}
|
||||
// on macOS, Icon of file maybe changed after updated.
|
||||
// setting IconID to -1 forces the Icon of the file to be refreshed.
|
||||
ADisplayFile.IconID := -1;
|
||||
{$ENDIF}
|
||||
ADisplayFile.IconOverlayID := -1;
|
||||
ADisplayFile.DisplayStrings.Clear;
|
||||
ADisplayFile.Busy := ADisplayFile.Busy - [bsProp];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue