summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractSplitPanel.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-12-15 23:21:49 +0200
committerVaadin Code Review <review@vaadin.com>2014-12-16 13:22:35 +0000
commit6d96447d5d3d4c1f22c7d49478c1b10a62bf64e7 (patch)
tree6c7bebfa4286bf0d0f1ef38aeb8688a007d2ce13 /server/src/com/vaadin/ui/AbstractSplitPanel.java
parent9bc83cdce75d39ae8c3c7e07f20b006111c193b6 (diff)
downloadvaadin-framework-6d96447d5d3d4c1f22c7d49478c1b10a62bf64e7.tar.gz
vaadin-framework-6d96447d5d3d4c1f22c7d49478c1b10a62bf64e7.zip
Do not remove children in read to ensure @DesignRoot reading works
properly (#7749) Change-Id: I8a3111e7007911adfd97c15373b634b2c57f5cd5
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractSplitPanel.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractSplitPanel.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/AbstractSplitPanel.java b/server/src/com/vaadin/ui/AbstractSplitPanel.java
index 8d1db549a9..3daf759c30 100644
--- a/server/src/com/vaadin/ui/AbstractSplitPanel.java
+++ b/server/src/com/vaadin/ui/AbstractSplitPanel.java
@@ -592,8 +592,6 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
setMaxSplitPosition(maxSplitPosition.getSize(),
maxSplitPosition.getUnit());
}
- // remove current children
- removeAllComponents();
// handle children
if (design.children().size() > 2) {
throw new DesignException(