Adding project unit to a package produces duplicated error dialogs
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
Adding project to a package is (rightly) considered bad.
However, the Lazarus should make its mind about how bad it is ;-)
Steps to reproduce:
-
Create a new project
-
Select "Add active unit to a package" menu item
=>
A "warning" dialog appears with three options:
"Cancel", "Abort", "Ignore".
The first two options are identical, so one of them should be removed -
Choose "Ignore"
-
Press "Ok" button on the "Add file to package" dialog
=>
A "file is used" dialog appears, with only "Cancel" option.
This dialog duplicates the first one, but without "Ignore" option.
IMO, only one if the dialogs should be displayed to the user.
Mantis conversion info:
- Mantis ID: 18788
- Target version: 1.2.0
- LazTarget: 1.2