Incorrect behaviour and crash when moving items up and down in the list of package files
Original Reporter info from Mantis: ahydra
-
Reporter name: Colin Haywood
Original Reporter info from Mantis: ahydra
- Reporter name: Colin Haywood
Description:
Sorry, can't find the category for the Lazarus IDE. I'm using Lazarus 1.6.4.
When editing a package in the Package Editor, if you select a file and click the "Move selected item down" button, a different file other than the one selected moves. In addition, the selection is not updated visually, so further clicks move the same item down even though it is no longer selected.
No doubt related to this apparent indexing error, clicking on the bottom file in the list and choosing "Move selected item up" will cause Lazarus to crash with an index out of range error.