Units/Forms added to project aren't shown in inheritance project component list
Original Reporter info from Mantis: bpranoto
-
Reporter name: Bambang Pranoto
Original Reporter info from Mantis: bpranoto
- Reporter name: Bambang Pranoto
Description:
When I add existing units/forms (originally created in other project) to a new project, those forms are not shown in the list of units/forms which can be inherited.
Steps to reproduce:
- Create a project1 with 2 forms (blank forms are enough):
unit project1_unit1, form name: TFormProject1Form1
unit project1_unit2, form name: TFormProject1Form2
2. Create a project2 with just 1 blank form.
Add files from project1 above:
project1_unit1.pas
project1_unit1.lfm
project1_unit2.pas
project1_unit2.lfm
3. Try to inherite a new form:
File -> New... ->Inherited project component
You'll see the forms which just added are not shown in the list.
Attached are zip for those 2 projects, just extract the zip and do the step 3
Mantis conversion info:
- Mantis ID: 38584
- Assignee Gitlab user: @balazs_szekely
- Assignee Mantis username: GetMem
- Assignee name: Balázs Székely
- OS: Ubuntu
- OS Build: 18.04 64bits
- Platform: Linux
- Version: 2.0.12
- Fixed in revision: 64748 (#53d2d155)
- Target version: 2.2