mirror of https://gitlab.com/basile.b/dexed.git
remove workaround for a LCL bug that only existed in 2.2.0-RC1
This commit is contained in:
parent
846f86fb40
commit
250b6960d8
|
@ -372,10 +372,6 @@ begin
|
||||||
end;
|
end;
|
||||||
|
|
||||||
destructor TMiniExplorerWidget.destroy;
|
destructor TMiniExplorerWidget.destroy;
|
||||||
{$if lcl_fullversion >= 2020000}
|
|
||||||
var
|
|
||||||
i: integer;
|
|
||||||
{$endif}
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
fMnxSubj.free;
|
fMnxSubj.free;
|
||||||
|
@ -388,11 +384,6 @@ begin
|
||||||
free;
|
free;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{$if lcl_fullversion >= 2020000}
|
|
||||||
for i := 0 to lstFav.Items.Count-1 do
|
|
||||||
lstFavDeletion(nil, lstfav.Items[i]);
|
|
||||||
{$endif}
|
|
||||||
|
|
||||||
fEditableOptions.Free;
|
fEditableOptions.Free;
|
||||||
fFavorites.Free;
|
fFavorites.Free;
|
||||||
inherited;
|
inherited;
|
||||||
|
@ -474,15 +465,13 @@ procedure TMiniExplorerWidget.updateFavorites;
|
||||||
var
|
var
|
||||||
itm: TListItem;
|
itm: TListItem;
|
||||||
fold: string;
|
fold: string;
|
||||||
dat: PString;
|
|
||||||
begin
|
begin
|
||||||
lstFav.Clear;
|
lstFav.Clear;
|
||||||
for fold in fFavorites do
|
for fold in fFavorites do
|
||||||
begin
|
begin
|
||||||
itm := lstFav.Items.Add;
|
itm := lstFav.Items.Add;
|
||||||
itm.Caption := shortenPath(fold);
|
itm.Caption := shortenPath(fold);
|
||||||
dat := NewStr(fold);
|
itm.Data := NewStr(fold);
|
||||||
itm.Data := dat;
|
|
||||||
itm.ImageIndex := 2;
|
itm.ImageIndex := 2;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue