Hi

I run into some troubles with ULCList / AbstractListModel / ULCListSelectionModel.

I've implemented my own ListModel, extending AbstractListModel. On list data changes, I'm calling AbstractListModel.fireContentsChanged() to notify listeners about the change. I've noticed that this causes a reset of the current selection of this list, which is annoying me.

Calling AbstractListModel.fireContentsChanged() causes a ULCListSelectionModel.clearSelection() in ULCList code. Is there a reason that for? Why is a data change causing a selection change? This behaviour seems not logical to me.

Regards,
Marcel
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to