Results 1 to 3 of 3

Thread: Duplicating a button with a handler on a toolbar does not rename function

    Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1817 in a recent build.
  1. #1
    Touch Premium Member pkellner's Avatar
    Join Date
    Sep 2008
    Location
    San Jose, California
    Posts
    832
    Vote Rating
    25
      0  

    Default Duplicating a button with a handler on a toolbar does not rename function

    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)

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    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.
    Aaron Conran
    @aconran

  3. #3
    Touch Premium Member pkellner's Avatar
    Join Date
    Sep 2008
    Location
    San Jose, California
    Posts
    832
    Vote Rating
    25
      0  

    Default

    you are shaming me into proper bug reporting!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •