summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-18 10:59:09 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-18 10:59:09 +0000
commitcb07684313e36e373e83a9680cb2bb52dec9c581 (patch)
tree4380541c49a4721f77c1f4069be42f6fb33e16d8
parentd6337e56021c86d71f14d2ec27148bf99c7f07ff (diff)
downloadvaadin-framework-cb07684313e36e373e83a9680cb2bb52dec9c581.tar.gz
vaadin-framework-cb07684313e36e373e83a9680cb2bb52dec9c581.zip
fixes #6815
svn changeset:18350/svn branch:6.6
-rw-r--r--src/com/vaadin/ui/Window.java4
1 files changed, 2 insertions, 2 deletions
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);
}
/**