more related to #130

This commit is contained in:
Basile Burg 2024-01-22 06:49:21 +01:00
parent 0160c52b61
commit 129c3c4d2c
1 changed files with 1 additions and 3 deletions

View File

@ -111,7 +111,6 @@ type
fFreeProj: ICommonProject;
fFavorites: TStringList;
fLastFold: string;
fRootFold: string;
fLastListOrTree: TControl;
fDblClick: TExplorerDoubleClick;
fContextExpand: boolean;
@ -240,7 +239,7 @@ begin
widg := TMiniExplorerWidget(source);
fFavoriteFolders.Assign(widg.fFavorites);
fLastFolder := widg.fLastFold;
fRootFolder := widg.fRootFold;
fRootFolder := widg.treeFolders.Root;
fSplitter1Position := widg.Splitter1.GetSplitterPosition;
fSplitter2Position := widg.Splitter2.GetSplitterPosition;
fDblClick:= widg.fDblClick;
@ -820,7 +819,6 @@ begin
if treeFolders.Selected.isNotAssigned then
exit;
fLastFold := treeFolders.Path.extractFileDir; // trailing path sep
fRootFold := treeFolders.Root;
subjMnexDirectoryChanged(fMnxSubj, fLastFold);
lstFiles.Sort();
end;