]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8324 Fixed problem with nodes being added to the wrong widget
authorArtur Signell <artur@vaadin.com>
Fri, 3 Feb 2012 18:10:28 +0000 (20:10 +0200)
committerArtur Signell <artur@vaadin.com>
Fri, 3 Feb 2012 18:10:28 +0000 (20:10 +0200)
src/com/vaadin/terminal/gwt/client/ui/VTreePaintable.java

index ebfaeead9950ccd3c21a1e842fd18d1372661fe6..69aecebb064b1397d962a66b48ed1a20966655fd 100644 (file)
@@ -218,7 +218,7 @@ public class VTreePaintable extends VAbstractPaintableWidget {
             }
             final TreeNode childTree = getWidgetForPaintable().new TreeNode();
             updateNodeFromUIDL(childTree, childUidl);
-            containerNode.add(childTree);
+            containerNode.childNodeContainer.add(childTree);
             if (!i.hasNext()) {
                 childTree
                         .addStyleDependentName(childTree.isLeaf() ? "leaf-last"