summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/data/util
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2011-09-02 06:10:25 +0000
committerHenri Sara <henri.sara@itmill.com>2011-09-02 06:10:25 +0000
commit7d28033c7f50155f720c6e36363521848094bb58 (patch)
treee5544972ed1c187260303079bd230581087203cf /src/com/vaadin/data/util
parent835a4f80470827c8b2a2eeda51b18a9a447036b1 (diff)
downloadvaadin-framework-7d28033c7f50155f720c6e36363521848094bb58.tar.gz
vaadin-framework-7d28033c7f50155f720c6e36363521848094bb58.zip
#7517 regression fix: avoid unnecessary notification
svn changeset:20804/svn branch:6.6
Diffstat (limited to 'src/com/vaadin/data/util')
-rw-r--r--src/com/vaadin/data/util/IndexedContainer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/data/util/IndexedContainer.java b/src/com/vaadin/data/util/IndexedContainer.java
index 2f45def4f1..a6f9c55aa2 100644
--- a/src/com/vaadin/data/util/IndexedContainer.java
+++ b/src/com/vaadin/data/util/IndexedContainer.java
@@ -254,7 +254,7 @@ public class IndexedContainer extends
if (!isFiltered()) {
// always the last item
fireItemAdded(size() - 1, itemId, item);
- } else if (passesFilters(itemId)) {
+ } else if (passesFilters(itemId) && !containsId(itemId)) {
getFilteredItemIds().add(itemId);
// always the last item
fireItemAdded(size() - 1, itemId, item);