diff options
author | Artur Signell <artur@vaadin.com> | 2012-11-27 00:43:36 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-11-27 00:43:36 +0200 |
commit | fd5bd7bd55ec65a6c36042298695c8986cde8f4f (patch) | |
tree | b83d08736e8130536d03bba65bcebe9f7ba98f02 /client | |
parent | 7d1597b15802e45cc0b723b7af7753dc3866dca9 (diff) | |
download | vaadin-framework-fd5bd7bd55ec65a6c36042298695c8986cde8f4f.tar.gz vaadin-framework-fd5bd7bd55ec65a6c36042298695c8986cde8f4f.zip |
Do not remove non-existing children when removing a tab (#10388)
Change-Id: I38d64bd5c0e8c59abfed5866405eeef1482ff7f5
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/VAccordion.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/client/src/com/vaadin/client/ui/VAccordion.java b/client/src/com/vaadin/client/ui/VAccordion.java index 6132fb0450..d4dad3dc64 100644 --- a/client/src/com/vaadin/client/ui/VAccordion.java +++ b/client/src/com/vaadin/client/ui/VAccordion.java @@ -422,11 +422,7 @@ public class VAccordion extends VTabsheetBase { public void replaceWidget(Widget newWidget) { if (getWidgetCount() > 1) { Widget oldWidget = getWidget(1); - ComponentConnector oldPaintable = ConnectorMap.get(client) - .getConnector(oldWidget); - ConnectorMap.get(client).unregisterConnector(oldPaintable); widgets.remove(oldWidget); - remove(1); } add(newWidget, content); widgets.add(newWidget); |