]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #1829, emptying iformlayout
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 17 Jun 2008 07:43:51 +0000 (07:43 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 17 Jun 2008 07:43:51 +0000 (07:43 +0000)
svn changeset:4904/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ui/IFormLayout.java

index 22a9d6cb8b31f1f97cea605d667f1981d3dcc7ee..a476e263d969e98b3fb577c9de485c065d68f0f9 100644 (file)
@@ -99,7 +99,7 @@ public class IFormLayout extends FlexTable implements Container {
         }
 
         while (getRowCount() > i) {
-            final Paintable p = (Paintable) getWidget(i, 1);
+            final Paintable p = (Paintable) getWidget(i, 2);
             client.unregisterPaintable(p);
             componentToCaption.remove(p);
             removeRow(i);