From: Automerge Date: Thu, 5 Apr 2012 13:08:18 +0000 (+0000) Subject: [merge from 6.7] Fixed #8604: Tree multiselect worked incorrectly in some cases X-Git-Tag: 7.0.0.alpha2~104^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=97c58999b1450e1e55bfe505e5e15a0dd774ab54;p=vaadin-framework.git [merge from 6.7] Fixed #8604: Tree multiselect worked incorrectly in some cases svn changeset:23412/svn branch:6.8 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VTree.java b/src/com/vaadin/terminal/gwt/client/ui/VTree.java index 4344cec5f5..2be01df8cc 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VTree.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VTree.java @@ -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); }