From 8d7783b4e91928bbc7dd96affdba5eac3e92063d Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 17 Dec 2014 22:35:51 +0200 Subject: API refactoring (#7749) Change-Id: I835756b240bc9ece885acdc8f43ec6a1599bb7c5 --- server/src/com/vaadin/ui/AbstractSingleComponentContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/com/vaadin/ui/AbstractSingleComponentContainer.java') diff --git a/server/src/com/vaadin/ui/AbstractSingleComponentContainer.java b/server/src/com/vaadin/ui/AbstractSingleComponentContainer.java index 24c36fd0cf..244feb3bb9 100644 --- a/server/src/com/vaadin/ui/AbstractSingleComponentContainer.java +++ b/server/src/com/vaadin/ui/AbstractSingleComponentContainer.java @@ -297,7 +297,7 @@ public abstract class AbstractSingleComponentContainer extends + " can have only one child component."); } else if (childCount == 1) { Element childElement = design.children().get(0); - Component newChild = designContext.createChild(childElement); + Component newChild = designContext.readDesign(childElement); setContent(newChild); } } -- cgit v1.2.3