christmo / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

SourceListModel.addItem(item, index) doesn't respect index after the model has been installed on a SourceList #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Once a SourceListModel has been created, the addItem method with a supplied 
index to add the 
item at, does not respect the index.

Original issue reported on code.google.com by kenneth....@gmail.com on 29 Nov 2008 at 2:33

GoogleCodeExporter commented 8 years ago
The index is lost along the event firing chain - the API doesn't actually allow 
the index to be passed along. I'll 
update the API.

Original comment by kenneth....@gmail.com on 29 Nov 2008 at 2:33

GoogleCodeExporter commented 8 years ago
Updated the SourceListModelListener to accept the index at which an item was 
added.

Original comment by kenneth....@gmail.com on 29 Nov 2008 at 2:34