Options for Clean Directory not correctly read / handled
Original Reporter info from Mantis: dirks
-
Reporter name: Dirk Schiphorst
Original Reporter info from Mantis: dirks
- Reporter name: Dirk Schiphorst
Description:
'Recently used' entries for the 3 comboboxes in the Clean Directory dialog are not read correctly and I always end up with just the default values. Problem is ide\cleandirdlg.pas, line 162
LoadRecentList(XMLConfig,List,Path+'Directories');
Should be
LoadRecentList(XMLConfig,List,Path);
This only reveals a second problem, though. Because the design time default values are written to the config file the combobox.itemindex is not always set to 0 (see proc AddStandardComboItem) and combobox.text is not changed from it's design time value ('DirComboBox', etc).
Additional information:
Attached patch should resolve both problems
Mantis conversion info:
- Mantis ID: 18855
- OS: Win XP
- Build: 29656
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 29699 (#ac610256)