diff options
author | Henri Sara <henri.sara@itmill.com> | 2010-03-19 07:22:47 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2010-03-19 07:22:47 +0000 |
commit | 65088c952ccdd729d0c5617dce28cd0b15eee0e3 (patch) | |
tree | b73efd591981b28ef02e814b54cf997c4d6bae32 /src | |
parent | ded73cc78ee30d7d4862362ad3038bc5a1367715 (diff) | |
download | vaadin-framework-65088c952ccdd729d0c5617dce28cd0b15eee0e3.tar.gz vaadin-framework-65088c952ccdd729d0c5617dce28cd0b15eee0e3.zip |
#4370 HierarchicalContainer.setParent() removed children of the wrong node
svn changeset:11983/svn branch:6.3
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/data/util/HierarchicalContainer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/data/util/HierarchicalContainer.java b/src/com/vaadin/data/util/HierarchicalContainer.java index 9d9b375fd6..7a5f0b2387 100644 --- a/src/com/vaadin/data/util/HierarchicalContainer.java +++ b/src/com/vaadin/data/util/HierarchicalContainer.java @@ -242,7 +242,7 @@ public class HierarchicalContainer extends IndexedContainer implements if (l != null) { l.remove(itemId); if (l.isEmpty()) { - children.remove(itemId); + children.remove(oldParentId); } } |