summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-05-22 13:17:28 +0300
committerVaadin Code Review <review@vaadin.com>2015-05-26 10:46:50 +0000
commitac92875a94262e0801052a35b964213f5ee37148 (patch)
treeec6e6e9c2b500ce2bfbeadde6f00a75f8faa72c2 /client
parent1ac6c591a652200075fff540242b556dbd75c8b3 (diff)
downloadvaadin-framework-ac92875a94262e0801052a35b964213f5ee37148.tar.gz
vaadin-framework-ac92875a94262e0801052a35b964213f5ee37148.zip
Update active tab index when overriding selection (#15274)
Change-Id: I0480b640cec251bb430cdb9224e2a23ea26b7259
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/tabsheet/TabsheetConnector.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/tabsheet/TabsheetConnector.java b/client/src/com/vaadin/client/ui/tabsheet/TabsheetConnector.java
index 469fc6ba95..1b043c8a51 100644
--- a/client/src/com/vaadin/client/ui/tabsheet/TabsheetConnector.java
+++ b/client/src/com/vaadin/client/ui/tabsheet/TabsheetConnector.java
@@ -42,6 +42,7 @@ public class TabsheetConnector extends TabsheetBaseConnector implements
final boolean selected = key.equals(getState().selected);
if (selected) {
getWidget().waitingForResponse = false;
+ getWidget().setActiveTabIndex(i);
getWidget().selectTab(i);
break;
}