diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-03-01 16:34:18 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-03-01 16:34:18 +0200 |
commit | 1595203f760bf715122af2d02fab6e453bb2eb2a (patch) | |
tree | c098f26ca224e8b2d451749e65ad830beaf0991f /src | |
parent | 65f3ce769ef3e5dcb6ab7e439599ed3bb0bb5309 (diff) | |
download | vaadin-framework-1595203f760bf715122af2d02fab6e453bb2eb2a.tar.gz vaadin-framework-1595203f760bf715122af2d02fab6e453bb2eb2a.zip |
Clear the slot when removing a widget
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/GridLayoutConnector.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/GridLayoutConnector.java b/src/com/vaadin/terminal/gwt/client/ui/GridLayoutConnector.java index d551552d24..b26df5ddb6 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/GridLayoutConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/GridLayoutConnector.java @@ -114,6 +114,7 @@ public class GridLayoutConnector extends AbstractComponentContainerConnector paintableMap.unregisterConnector(paintableMap.getConnector(w)); } cell.slot.getWrapperElement().removeFromParent(); + cell.slot = null; } int bitMask = uidl.getIntAttribute("margins"); |