]> source.dussan.org Git - vaadin-framework.git/commitdiff
Another WindowConnector fix - attach widget to correct element
authorArtur Signell <artur@vaadin.com>
Thu, 12 Apr 2012 06:23:12 +0000 (09:23 +0300)
committerArtur Signell <artur@vaadin.com>
Thu, 12 Apr 2012 06:58:51 +0000 (09:58 +0300)
src/com/vaadin/terminal/gwt/client/ui/window/WindowConnector.java

index 17f56e9159fc4eb9bdc11fec0ed768548d681ee8..57c931fac9de4446d65c468574597e8d9df4cd3b 100644 (file)
@@ -202,7 +202,7 @@ public class WindowConnector extends AbstractComponentContainerConnector
         }
 
         getWidget().layout = newChild;
-        getWidget().setWidget(newChildWidget);
+        getWidget().contentPanel.setWidget(newChildWidget);
     }
 
     public void layout() {