diff --git a/src/u_miniexplorer.pas b/src/u_miniexplorer.pas index 4f3948bb..681a41cc 100644 --- a/src/u_miniexplorer.pas +++ b/src/u_miniexplorer.pas @@ -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;