TShellTreeView - Drive letters show twice when changing the FileSortType in the form designer
Original Reporter info from Mantis: aegluke
-
Reporter name: Erik Grohnwaldt
Original Reporter info from Mantis: aegluke
- Reporter name: Erik Grohnwaldt
Description:
If i set FileSortType to an order different from fstNone in the designer, the TreeView shows the drive letters twice.
Steps to reproduce:
Set the property FileSortType to fstAlphabet or fstFoldersFirst.
Additional information:
It is caused by calling PopulateWithBaseFiles twice. Once in loading and once once after loading - without a cleanup between.
So i disable the PopulateWithBaseFiles while loading in this patch.
Mantis conversion info:
- Mantis ID: 28565
- OS: Windows
- OS Build: 10
- Platform: i386
- Version: 1.5 (SVN)
- Fixed in version: 1.4.4
- Fixed in revision: r49741 (#ca600365)
- Target version: 1.4.4