summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2011-01-13 16:33:23 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2011-01-13 16:33:23 +0000
commitafba638fad8ec3527a53c6201d8ee7a9e72c1fc1 (patch)
tree09a702345f794c73ed62c78df6bcda1d7dec3bff
parent276fb9563fc702315d952a7bf96a75d0a68c98ac (diff)
downloadvaadin-framework-afba638fad8ec3527a53c6201d8ee7a9e72c1fc1.tar.gz
vaadin-framework-afba638fad8ec3527a53c6201d8ee7a9e72c1fc1.zip
#6281, fixed issue when column moves to another index while changing container
svn changeset:16879/svn branch:6.5
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java
index b19055b1ba..f6383b36ba 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java
@@ -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