summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonatan Kronqvist <jonatan.kronqvist@itmill.com>2011-05-05 07:49:34 +0000
committerJonatan Kronqvist <jonatan.kronqvist@itmill.com>2011-05-05 07:49:34 +0000
commit5d2096a87548eb20f6f3a9d6ba53532adfc97184 (patch)
tree0e50928a5e2e011519f36e71c17c0ca8f4902bac /src
parente56078d3b0cd1bce8a35f5615a98e8f0c7b5950d (diff)
downloadvaadin-framework-5d2096a87548eb20f6f3a9d6ba53532adfc97184.tar.gz
vaadin-framework-5d2096a87548eb20f6f3a9d6ba53532adfc97184.zip
Removed unnecessary code that slipped by in the fix for #6924
svn changeset:18637/svn branch:6.6
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VTree.java3
1 files changed, 0 insertions, 3 deletions
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);