#30 Enum: failed to add new items

closed-fixed
3
2009-07-30
2009-07-02
Anonymous
No

Hi,

When creating new enum, I failed to add any items, it gives always the same error: "invalid declaration". The problem occurs when the focus lives the textbox, this empty automatically the textbox.

The solution right now is hitting "enter" key to add items.

Thanks.

Discussion

  • Balazs Tihanyi
    Balazs Tihanyi
    2009-07-04

    I've tried to reproduce this bug. When the focus moves from the textbox to the listbox, it clears the new item like you said. But if you hit the 'Add item' button, it does not clear the textbox, hence it adds the new enum item.
    Nevertheless, I'm going to fix this 'clearing' behaviour.

     
  • Balazs Tihanyi
    Balazs Tihanyi
    2009-07-04

    • priority: 5 --> 3
    • status: open --> open-accepted
     
  • Hi, again

    I forgot to mention that I got this bug while trying NClass with Mono on Linux (Ubuntu).

    Thanks.

     
  • Balazs Tihanyi
    Balazs Tihanyi
    2009-07-07

    Thanks for reporting this bug!
    Will be fixed and tested under Linux/Mono.

     
  • Balazs Tihanyi
    Balazs Tihanyi
    2009-07-30

    Fixed in version 2.0

    Thanks for reporting!

     
  • Balazs Tihanyi
    Balazs Tihanyi
    2009-07-30

    • status: open-accepted --> closed-fixed