]> source.dussan.org Git - vaadin-framework.git/commitdiff
#6281, fixed issue when column moves to another index while changing container
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 13 Jan 2011 16:33:23 +0000 (16:33 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 13 Jan 2011 16:33:23 +0000 (16:33 +0000)
svn changeset:16879/svn branch:6.5

src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java

index b19055b1ba62fcace33fdd1901e95b440cbd19e8..f6383b36bab906c68a0540c41c18ab6e0406c7ee 100644 (file)
@@ -2409,6 +2409,7 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
                 // we're moving the cell
                 DOM.removeChild(tr, cell.getElement());
                 orphan(cell);
+                visibleCells.remove(cell);
             }
             if (index < visibleCells.size()) {
                 // insert to right slot