diff options
author | Artur Signell <artur@vaadin.com> | 2014-12-17 22:35:51 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-12-17 23:08:57 +0200 |
commit | 8d7783b4e91928bbc7dd96affdba5eac3e92063d (patch) | |
tree | 791c4f41d7491f95a15ffe2bfd4815569da349a2 /server/src/com/vaadin/ui/AbstractSingleComponentContainer.java | |
parent | 311f5a0a26d78eac19ce07373f37799cbb5e20f0 (diff) | |
download | vaadin-framework-8d7783b4e91928bbc7dd96affdba5eac3e92063d.tar.gz vaadin-framework-8d7783b4e91928bbc7dd96affdba5eac3e92063d.zip |
API refactoring (#7749)declarative
Change-Id: I835756b240bc9ece885acdc8f43ec6a1599bb7c5
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractSingleComponentContainer.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractSingleComponentContainer.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |