IDE: Build modes path is not updated after creating new unit
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
-
Reporter name: Zeljan Rikalo
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
- Reporter name: Zeljan Rikalo
Description:
Using project with build modes (eg linux,win,linux64,debug etc).
Open unit from disk (some other directory than already in current build mode PATH).
Now add unit to the project.
Build modes ask if path of newly added unit should be added to other build modes. And that's correct.
Issue is visible when you create new unit (or form) from lazarus (so you're not loading already existing unit from some other directory).
Steps to reproduce:
1.Must have few build modes.
2.Create new unit (or form), save as, create new directory and save that unit into newly created directory. You will be asked if new directory should be added to the PATH, say yes and it will be added to the current build mode but not to the others. That's wrong. IDE should ask in which build modes it should be added, just like when we are loading existing unit from disk and directory of such unit isn't in PATH of current build mode.
Mantis conversion info:
- Mantis ID: 34413
- Version: 1.9 (SVN)
- Fixed in revision: r59374 (#1313ae2b)