From: Joonas Lehtinen Date: Wed, 3 Sep 2008 17:53:25 +0000 (+0000) Subject: Bugfix: Also sending close-events for the main-window. X-Git-Tag: 6.7.0.beta1~4208 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7f93c48784b93c7638bd5dce7b080dc7cf0a89c3;p=vaadin-framework.git Bugfix: Also sending close-events for the main-window. svn changeset:5354/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/ui/Window.java b/src/com/itmill/toolkit/ui/Window.java index f1c5346e96..8615480553 100644 --- a/src/com/itmill/toolkit/ui/Window.java +++ b/src/com/itmill/toolkit/ui/Window.java @@ -859,10 +859,6 @@ public class Window extends Panel implements URIHandler, ParameterHandler { *

*/ protected void close() { - if (getApplication() != null - && getApplication().getMainWindow() == this) { - return; - } Window parent = (Window) getParent(); if (parent == null) { fireClose();