]> source.dussan.org Git - vaadin-framework.git/commitdiff
Restore lazy layout functionality (#8313)
authorLeif Åstrand <leif@vaadin.com>
Tue, 13 Mar 2012 10:16:10 +0000 (12:16 +0200)
committerLeif Åstrand <leif@vaadin.com>
Tue, 13 Mar 2012 10:16:10 +0000 (12:16 +0200)
src/com/vaadin/terminal/gwt/client/ApplicationConnection.java

index 7bd8199992530cb368b6b7a01c5dad922fdcbfe7..35fc0a3058505b744aba44aa39c63431492d36c2 100644 (file)
@@ -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