diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/ui/Window.java | 4 |
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); } /** |