]> source.dussan.org Git - vaadin-framework.git/commitdiff
Avoid infinite loop by only updating table height in second pass
authorLeif Åstrand <leif@vaadin.com>
Wed, 11 Apr 2012 12:18:22 +0000 (15:18 +0300)
committerLeif Åstrand <leif@vaadin.com>
Wed, 11 Apr 2012 12:18:22 +0000 (15:18 +0300)
src/com/vaadin/terminal/gwt/client/ui/TableConnector.java

index 2c546f40b18bc25d961978f86a6d25eab44daa80..a0db9cd3f93a7dae34b38f51e2db1b49d4978a73 100644 (file)
@@ -285,7 +285,8 @@ public class TableConnector extends AbstractComponentContainerConnector
             table.sizeInit();
             Scheduler.get().scheduleFinally(new ScheduledCommand() {
                 public void execute() {
-                    getLayoutManager().setNeedsUpdate(TableConnector.this);
+                    getLayoutManager()
+                            .setHeightNeedsUpdate(TableConnector.this);
                     getLayoutManager().layoutNow();
                 }
             });