]> source.dussan.org Git - vaadin-framework.git/commitdiff
[merge from 6.7] Fixed #8604: Tree multiselect worked incorrectly in some cases
authorAutomerge <automerge@vaadin.com>
Thu, 5 Apr 2012 13:08:18 +0000 (13:08 +0000)
committerAutomerge <automerge@vaadin.com>
Thu, 5 Apr 2012 13:08:18 +0000 (13:08 +0000)
svn changeset:23412/svn branch:6.8

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

index 4344cec5f514aafbdccb169cca0a33fbd1a624ab..2be01df8cce936b56f8e89ed9bb0cb9da52d33de 100644 (file)
@@ -1442,7 +1442,7 @@ public class VTree extends FocusElementPanel implements Paintable,
                         selectedIds.add(child.key);
                     }
                     return false;
-                } else if (child.isLeaf()) {
+                } else {
                     child.setSelected(true);
                     selectedIds.add(child.key);
                 }