summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VTabsheet.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VTabsheet.java b/client/src/main/java/com/vaadin/client/ui/VTabsheet.java
index e77e683d5b..123f89bb36 100644
--- a/client/src/main/java/com/vaadin/client/ui/VTabsheet.java
+++ b/client/src/main/java/com/vaadin/client/ui/VTabsheet.java
@@ -630,7 +630,7 @@ public class VTabsheet extends VTabsheetBase
for (int i = oldPosition - 1; i >= 0; i--) {
Tab tab = getTab(i);
- if (!tab.isHiddenOnServer()) {
+ if (tab != null && !tab.isHiddenOnServer()) {
return i;
}
}
@@ -1584,8 +1584,6 @@ public class VTabsheet extends VTabsheetBase
*
* @param blurSource
* the source.
- * @param focusedTabProvider
- * provides the current focused tab.
*/
public BlurCommand(Tab blurSource) {
this.blurSource = blurSource;