diff options
author | Artur Signell <artur@vaadin.com> | 2014-12-15 23:21:49 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-12-16 13:22:35 +0000 |
commit | 6d96447d5d3d4c1f22c7d49478c1b10a62bf64e7 (patch) | |
tree | 6c7bebfa4286bf0d0f1ef38aeb8688a007d2ce13 /server/src/com/vaadin/ui/TabSheet.java | |
parent | 9bc83cdce75d39ae8c3c7e07f20b006111c193b6 (diff) | |
download | vaadin-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/TabSheet.java')
-rw-r--r-- | server/src/com/vaadin/ui/TabSheet.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/TabSheet.java b/server/src/com/vaadin/ui/TabSheet.java index ef3ef80960..6bd5ef2221 100644 --- a/server/src/com/vaadin/ui/TabSheet.java +++ b/server/src/com/vaadin/ui/TabSheet.java @@ -1464,8 +1464,6 @@ public class TabSheet extends AbstractComponentContainer implements Focusable, @Override public void readDesign(Element design, DesignContext designContext) { super.readDesign(design, designContext); - // clear old tabs - removeAllComponents(); // create new tabs for (Element tab : design.children()) { if (!tab.tagName().equals("tab")) { |