summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractSplitPanel.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-12-17 22:35:51 +0200
committerArtur Signell <artur@vaadin.com>2014-12-17 23:08:57 +0200
commit8d7783b4e91928bbc7dd96affdba5eac3e92063d (patch)
tree791c4f41d7491f95a15ffe2bfd4815569da349a2 /server/src/com/vaadin/ui/AbstractSplitPanel.java
parent311f5a0a26d78eac19ce07373f37799cbb5e20f0 (diff)
downloadvaadin-framework-8d7783b4e91928bbc7dd96affdba5eac3e92063d.tar.gz
vaadin-framework-8d7783b4e91928bbc7dd96affdba5eac3e92063d.zip
API refactoring (#7749)declarative
Change-Id: I835756b240bc9ece885acdc8f43ec6a1599bb7c5
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractSplitPanel.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractSplitPanel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/AbstractSplitPanel.java b/server/src/com/vaadin/ui/AbstractSplitPanel.java
index e366c33593..62e4d9ec11 100644
--- a/server/src/com/vaadin/ui/AbstractSplitPanel.java
+++ b/server/src/com/vaadin/ui/AbstractSplitPanel.java
@@ -610,7 +610,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
"A split panel can contain at most two components.");
}
for (Element childElement : design.children()) {
- Component childComponent = designContext.createChild(childElement);
+ Component childComponent = designContext.readDesign(childElement);
if (childElement.hasAttr(":second")) {
setSecondComponent(childComponent);
} else {