diff options
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); |