From 51afd1f48d98ee1536665ac5c21d5fb0f992ff6b Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 3 Feb 2012 20:10:28 +0200 Subject: #8324 Fixed problem with nodes being added to the wrong widget --- src/com/vaadin/terminal/gwt/client/ui/VTreePaintable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/com/vaadin/terminal/gwt/client/ui/VTreePaintable.java b/src/com/vaadin/terminal/gwt/client/ui/VTreePaintable.java index ebfaeead99..69aecebb06 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VTreePaintable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VTreePaintable.java @@ -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" -- cgit v1.2.3