diff --git a/components/lazcontrols/listfilteredit.pas b/components/lazcontrols/listfilteredit.pas index 5968f33e34..804c2a5d55 100644 --- a/components/lazcontrols/listfilteredit.pas +++ b/components/lazcontrols/listfilteredit.pas @@ -17,9 +17,8 @@ type TListFilterEdit = class(TCustomControlFilterEdit) private - // A control showing the (filtered) data. These are exclusive, only one is used. - fFilteredListbox: TListbox; - fSelectionList: TStringList; // or store/restore the old selections here. + fFilteredListbox: TListbox; // A control showing the (filtered) data. + fSelectionList: TStringList; // Store/restore the old selections here. // Data supplied by caller through Data property. fOriginalData: TStringList; // Data sorted for viewing. diff --git a/components/lazcontrols/treefilteredit.pas b/components/lazcontrols/treefilteredit.pas index ea799cf339..25dd63ee56 100644 --- a/components/lazcontrols/treefilteredit.pas +++ b/components/lazcontrols/treefilteredit.pas @@ -17,10 +17,9 @@ type TTreeFilterEdit = class(TCustomControlFilterEdit) private - // A control showing the (filtered) data. These are exclusive, only one is used. - fFilteredTreeview: TTreeview; - fImageIndexDirectory: integer; // Needed if directory structure is shown. - fSelectionList: TStringList; // or store/restore the old selections here. + fFilteredTreeview: TTreeview; // A control showing the (filtered) data. + fImageIndexDirectory: integer; // Needed if directory structure is shown. + fSelectionList: TStringList; // Store/restore the old selections here. fShowDirHierarchy: Boolean; // Show direcories / files as a tree structure. // Full filename in node data is needed when showing the directory hierarchy. // It is stored automatically if the map is populated by MapShortToFullFilename.