]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8324 Fixed comparison of paintable and widget
authorArtur Signell <artur@vaadin.com>
Thu, 2 Feb 2012 16:22:11 +0000 (18:22 +0200)
committerArtur Signell <artur@vaadin.com>
Thu, 2 Feb 2012 16:22:11 +0000 (18:22 +0200)
src/com/vaadin/terminal/gwt/client/ui/VWindow.java

index 834cf10c0a63d2efa84b0bd4bf7f680c3019fd83..2cdbf9f370f365ec601c585892f5fbf0d5d7a70d 100644 (file)
@@ -980,7 +980,7 @@ public class VWindow extends VOverlay implements Container,
     }
 
     public boolean hasChildComponent(Widget component) {
-        if (component == layout) {
+        if (component == layout.getWidgetForPaintable()) {
             return true;
         } else {
             return false;