From: Artur Signell Date: Thu, 2 Feb 2012 16:22:11 +0000 (+0200) Subject: #8324 Fixed comparison of paintable and widget X-Git-Tag: 7.0.0.alpha2~476 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aba248bd951e8a17ca6bef3677b6702c6b9dfeb5;p=vaadin-framework.git #8324 Fixed comparison of paintable and widget --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VWindow.java b/src/com/vaadin/terminal/gwt/client/ui/VWindow.java index 834cf10c0a..2cdbf9f370 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VWindow.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VWindow.java @@ -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;