Save unit as new name is broken in project inspector
Original Reporter info from Mantis: finalpatch
-
Reporter name:
Original Reporter info from Mantis: finalpatch
- Reporter name:
Description:
In the old version (1.2.6) if I save a unit with a new file name the project inspector will correctly be updated with the new file name.
In the svn trunk (I use graemeg's github mirror), this is completely broken. After saving a unit with new name, the project inspector still shows the old name unit2.pas. Clicking the file name in project inspector does nothing. Closing the project and reopen it fixes this issue.
Steps to reproduce:
There are several ways to reproduce this.
You can either choose "Save as" in the menu for an existing unit.
Or you can choose "New unit", which will be created as unit2.pas, then try to save it.
Mantis conversion info:
- Mantis ID: 27909
- OS: Windows x64
- OS Build: 7 SP1
- Build: custom build
- Platform: X86_64
- Version: 1.5 (SVN)
- Fixed in revision: r48809 (#fec09258)