PDA

View Full Version : [FIXED] Duplicating a button with a handler on a toolbar does not rename function



pkellner
24 Apr 2012, 9:23 PM
if you have a button on a toolbar that has a handler assigned to it, then you duplicated that button, you end up creating two identical handlers (same name). the designer should either warn you and prompt you do change the name or not let you do it if a handler is there. (IMHO of course)

aconran
26 Apr 2012, 4:14 PM
Thanks for the bug report Peter.

Steps to reproduce:
Create an Architect Project
Choose Ext or Touch
Add a Toolbar
Put a button in the toolbar
add an event handler to the button
Duplicate the button

The event handler name is the same in both buttons.

pkellner
26 Apr 2012, 4:20 PM
you are shaming me into proper bug reporting!