From: Jonatan Kronqvist Date: Thu, 5 May 2011 07:49:34 +0000 (+0000) Subject: Removed unnecessary code that slipped by in the fix for #6924 X-Git-Tag: 6.7.0.beta1~219 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5d2096a87548eb20f6f3a9d6ba53532adfc97184;p=vaadin-framework.git Removed unnecessary code that slipped by in the fix for #6924 svn changeset:18637/svn branch:6.6 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VTree.java b/src/com/vaadin/terminal/gwt/client/ui/VTree.java index db27884398..11db29cbf6 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VTree.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VTree.java @@ -1606,9 +1606,6 @@ public class VTree extends FocusElementPanel implements Paintable, * Scroll the node into view */ public void setFocusedNode(TreeNode node, boolean scrollIntoView) { - if (!treeHasFocus && !isIE6OrOpera()) { - focus(); - } // Unfocus previously focused node if (focusedNode != null) { focusedNode.setFocused(false);