From: Leif Åstrand Date: Tue, 13 Mar 2012 10:16:10 +0000 (+0200) Subject: Restore lazy layout functionality (#8313) X-Git-Tag: 7.0.0.alpha2~362 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5e347e2c9c6de5f3a347b127e349ae1fbeb76842;p=vaadin-framework.git Restore lazy layout functionality (#8313) --- 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