]> source.dussan.org Git - vaadin-framework.git/commitdiff
avoid unnecessary focusing
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 14 Apr 2011 13:49:38 +0000 (13:49 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 14 Apr 2011 13:49:38 +0000 (13:49 +0000)
svn changeset:18298/svn branch:6.5

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

index d758c674ebe0bdf3449ae8a5bb7304d2dbf9a5d9..c8feb6262c36946f8ea3b0c602701d4f88a843cb 100644 (file)
@@ -4560,7 +4560,9 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
          * focus only if not currently focused.
          */
         protected void ensureFocus() {
-            scrollBodyPanel.setFocus(true);
+            if (!hasFocus) {
+                scrollBodyPanel.setFocus(true);
+            }
         }
     }