Closed GoogleCodeExporter closed 9 years ago
note: the orruption only occurs if the add menu item is pressed.
Original comment by aurelien...@gmail.com
on 11 May 2010 at 10:42
Issue fixed with commit r327
The problem was cause by wrong index.
When loaded, the index value is set in e.value (e = menu element).
When a new item is inserted, old index values remains and cause dupped indexes
when
using e.value.
to fix the problem, the list.lastIndex is used instead. The value represents
the last
selected element in the listbox. This value is always up-to-date.
Original comment by aurelien...@gmail.com
on 26 May 2010 at 11:30
Original issue reported on code.google.com by
aurelien...@gmail.com
on 11 May 2010 at 5:18