Crash on TAction renaming
Original Reporter info from Mantis: Penilopa P
-
Reporter name: Anton
Original Reporter info from Mantis: Penilopa P
- Reporter name: Anton
Description:
If ActionList editor is shown, renaming of the actions may lead to AV.
Provided patch uses adapted version of the code from TActionListEditor.OnComponentDelete.
Steps to reproduce:
- Project -> New Project... -> Application
- Add ActionList (ActionList1)
- Double click ActionList1 and add new Action (Action1)
- Don't close "ActionList Editor" and drop MainMenu component on the form
- Double click MainMenu1 to open MenuEditor
- Click "Add menu item" to add new menu item (MenuItem1)
MenuItem1 is an active component, its properties are shown in Object Inspector.
- Change MenuItem1.Action property to "Action1" in Object Inspector
- Expand current row ("Action") of Object Inspector to make also visible the properties of Action1
- Change property Name of Action1 to "Action12"
Mantis conversion info:
- Mantis ID: 35226
- Version: 2.1 (SVN)
- Fixed in revision: r60677 (#47cb9daa)