Bug in "Add Active File To Package"
Original Reporter info from Mantis: teoe300
-
Reporter name:
Original Reporter info from Mantis: teoe300
- Reporter name:
Description:
In Lazarus, the option "Add Active File To Package" has an annoying bug.
In case the directory of the unit is not in unit search path, the path is neither automatically appended nor the uset is prompted to add it as it is done in projects.
Steps to reproduce:
- Create a package.
- Via the "Add Active File To Package" menu, try to add a unit which is not in the unit search path of ypur package.
- Open the options for the package and look for the "Other unit files".
- The path to the unit you added is not appended.
Additional information:
By contrast, the "Add" command in the package menu does prompt the user in case the new unit is not in the package's unit search path.
Mantis conversion info:
- Mantis ID: 27720
- OS: Windows XP
- OS Build: XP Home Edition
- Platform: Win32
- Version: 1.2.6
- Fixed in revision: r50839 (#9e35d2c5)