From: Artur Signell Date: Thu, 12 Apr 2012 06:23:12 +0000 (+0300) Subject: Another WindowConnector fix - attach widget to correct element X-Git-Tag: 7.0.0.alpha2~66 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eff08ecdc070f998d4efd5c1f367173d0321708d;p=vaadin-framework.git Another WindowConnector fix - attach widget to correct element --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/window/WindowConnector.java b/src/com/vaadin/terminal/gwt/client/ui/window/WindowConnector.java index 17f56e9159..57c931fac9 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/window/WindowConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/window/WindowConnector.java @@ -202,7 +202,7 @@ public class WindowConnector extends AbstractComponentContainerConnector } getWidget().layout = newChild; - getWidget().setWidget(newChildWidget); + getWidget().contentPanel.setWidget(newChildWidget); } public void layout() {