From: Matti Tahvonen Date: Mon, 18 Apr 2011 10:59:09 +0000 (+0000) Subject: fixes #6815 X-Git-Tag: 6.7.0.beta1~325 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cb07684313e36e373e83a9680cb2bb52dec9c581;p=vaadin-framework.git fixes #6815 svn changeset:18350/svn branch:6.6 --- diff --git a/src/com/vaadin/ui/Window.java b/src/com/vaadin/ui/Window.java index 5c2769c756..f0e9559664 100644 --- a/src/com/vaadin/ui/Window.java +++ b/src/com/vaadin/ui/Window.java @@ -1123,7 +1123,7 @@ public class Window extends Panel implements URIHandler, ParameterHandler, // focus is restored to the parent window parent.focus(); - + // subwindow is removed from parent parent.removeWindow(this); } @@ -1379,7 +1379,7 @@ public class Window extends Panel implements URIHandler, ParameterHandler, * @param listener */ public void removeListener(ResizeListener listener) { - removeListener(ResizeEvent.class, this); + removeListener(ResizeEvent.class, listener); } /**