From 956b514e197bf274ba8a69d582681251272317d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Wed, 11 Apr 2012 15:18:22 +0300 Subject: [PATCH] Avoid infinite loop by only updating table height in second pass --- src/com/vaadin/terminal/gwt/client/ui/TableConnector.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/vaadin/terminal/gwt/client/ui/TableConnector.java b/src/com/vaadin/terminal/gwt/client/ui/TableConnector.java index 2c546f40b1..a0db9cd3f9 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/TableConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/TableConnector.java @@ -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(); } }); -- 2.39.5