From: Leif Åstrand Date: Tue, 4 Sep 2012 06:20:51 +0000 (+0300) Subject: Make LegacyApplication set current UI (#9443) X-Git-Tag: 7.0.0.beta1~195^2~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=17ea270b740bdea84143c3467166bf8618ab6ef5;p=vaadin-framework.git Make LegacyApplication set current UI (#9443) --- diff --git a/server/src/com/vaadin/Application.java b/server/src/com/vaadin/Application.java index fd8c73aa8f..636204cbf0 100644 --- a/server/src/com/vaadin/Application.java +++ b/server/src/com/vaadin/Application.java @@ -250,6 +250,7 @@ public class Application implements Terminal.ErrorListener, Serializable { // initialized return null; } else { + UI.setCurrent(uiInstance); return uiInstance; } }