Adding a namespaced unit does not update project source file correctly
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
When adding a new unit to a project that contains a namespace the unit's name in the main source file stays its default name (e.g. unit1).
Steps to reproduce:
- start a new project (e.g. "Program") and save it
- add a new unit
- save new unit as "Test.Foo"
- add another unit
- save new unit as "Test.Bar"
Expected result:
- main source file contains at least the following units: "Test.Foo" and "Test.Bar"
Actual result:
- main source file only contains "unit1"
Additional information:
Note: the project inspector contains the correct units.