]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed invalid comparison between paintable and widget
authorArtur Signell <artur@vaadin.com>
Fri, 3 Feb 2012 16:31:35 +0000 (18:31 +0200)
committerArtur Signell <artur@vaadin.com>
Fri, 3 Feb 2012 16:31:35 +0000 (18:31 +0200)
src/com/vaadin/terminal/gwt/client/ui/VWindow.java

index 2cdbf9f370f365ec601c585892f5fbf0d5d7a70d..870756fec866a9ca724698244bd21a3f0fe6694d 100644 (file)
@@ -971,7 +971,7 @@ public class VWindow extends VOverlay implements Container,
     }
 
     public RenderSpace getAllocatedSpace(Widget child) {
-        if (child == layout) {
+        if (child == layout.getWidgetForPaintable()) {
             return renderSpace;
         } else {
             // Exception ??