From eff08ecdc070f998d4efd5c1f367173d0321708d Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 12 Apr 2012 09:23:12 +0300 Subject: [PATCH] Another WindowConnector fix - attach widget to correct element --- .../vaadin/terminal/gwt/client/ui/window/WindowConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.39.5