diff options
Diffstat (limited to 'server/src/com/vaadin/ui/CssLayout.java')
-rw-r--r-- | server/src/com/vaadin/ui/CssLayout.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/CssLayout.java b/server/src/com/vaadin/ui/CssLayout.java index 1042947f21..541d369c55 100644 --- a/server/src/com/vaadin/ui/CssLayout.java +++ b/server/src/com/vaadin/ui/CssLayout.java @@ -371,8 +371,6 @@ public class CssLayout extends AbstractLayout implements LayoutClickNotifier { public void readDesign(Element design, DesignContext designContext) { // process default attributes super.readDesign(design, designContext); - // remove current children - removeAllComponents(); // handle children for (Element childComponent : design.children()) { Component newChild = designContext.createChild(childComponent); |