From 17ea270b740bdea84143c3467166bf8618ab6ef5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Tue, 4 Sep 2012 09:20:51 +0300 Subject: [PATCH] Make LegacyApplication set current UI (#9443) --- server/src/com/vaadin/Application.java | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.39.5