svn changeset:18453/svn branch:6.6
}
itemIdToItem.clear();
+ // fire event only if the visible view changed, regardless of whether
+ // filtered out items were removed or not
if (origSize != 0) {
fireItemSetChange();
}
// remove item
itemIdToItem.remove(itemId);
+ // fire event only if the visible view changed, regardless of
+ // whether filtered out items were removed or not
if (size() != origSize) {
fireItemRemoved(position, itemId);
}
items.clear();
+ // fire event only if the visible view changed, regardless of whether
+ // filtered out items were removed or not
if (origSize != 0) {
// Sends a change event
fireItemSetChange();
int origSize = size();
int position = indexOfId(itemId);
if (internalRemoveItem(itemId)) {
+ // fire event only if the visible view changed, regardless of
+ // whether filtered out items were removed or not
if (size() != origSize) {
fireItemRemoved(position, itemId);
}