From 5e347e2c9c6de5f3a347b127e349ae1fbeb76842 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Tue, 13 Mar 2012 12:16:10 +0200 Subject: [PATCH] Restore lazy layout functionality (#8313) --- src/com/vaadin/terminal/gwt/client/ApplicationConnection.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java index 7bd8199992..35fc0a3058 100644 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java @@ -2086,10 +2086,11 @@ public class ApplicationConnection { }; public void doLayout(boolean lazy) { - layoutPending = true; if (!lazy) { + layoutPending = true; layoutCommand.execute(); } else if (!layoutPending) { + layoutPending = true; /* * Current layoutCommand will do layouts again if layoutScheduled is * set to true -> no need to schedule another command -- 2.39.5