diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-11-27 07:27:34 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-11-27 07:27:34 +0000 |
commit | c0eabec7da61674f4f080947bd3e9ee6e9d8dfdb (patch) | |
tree | fe5167416d22e931c5cb0e4bedca78489c38432d /client | |
parent | 7d3cf8f4ecfdb721f14f7dbba7a683d75fd8602a (diff) | |
parent | fd5bd7bd55ec65a6c36042298695c8986cde8f4f (diff) | |
download | vaadin-framework-c0eabec7da61674f4f080947bd3e9ee6e9d8dfdb.tar.gz vaadin-framework-c0eabec7da61674f4f080947bd3e9ee6e9d8dfdb.zip |
Merge "Do not remove non-existing children when removing a tab (#10388)"
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); |