]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removed unnecessary code that slipped by in the fix for #6924
authorJonatan Kronqvist <jonatan.kronqvist@itmill.com>
Thu, 5 May 2011 07:49:34 +0000 (07:49 +0000)
committerJonatan Kronqvist <jonatan.kronqvist@itmill.com>
Thu, 5 May 2011 07:49:34 +0000 (07:49 +0000)
svn changeset:18637/svn branch:6.6

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

index db278843989159cb1f7bf1ddcba1ab32ad16e7a3..11db29cbf6b32d47e286120402a399f32f645d48 100644 (file)
@@ -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);