aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2009-09-08 05:58:10 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2009-09-08 05:58:10 +0000
commit00b6da08af232cfa3cfa5e569561cdbf0cbabaf3 (patch)
tree49d9225eb814a731b7c20759c7177d35aecbdcc2 /src/com/vaadin
parentc0a721bbfe045d84026db7cceb5b9366c03aa912 (diff)
downloadvaadin-framework-00b6da08af232cfa3cfa5e569561cdbf0cbabaf3.tar.gz
vaadin-framework-00b6da08af232cfa3cfa5e569561cdbf0cbabaf3.zip
fixes #3292
svn changeset:8690/svn branch:6.1
Diffstat (limited to 'src/com/vaadin')
-rw-r--r--src/com/vaadin/ui/TabSheet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/TabSheet.java b/src/com/vaadin/ui/TabSheet.java
index b0dac11767..f868902375 100644
--- a/src/com/vaadin/ui/TabSheet.java
+++ b/src/com/vaadin/ui/TabSheet.java
@@ -397,7 +397,7 @@ public class TabSheet extends AbstractComponentContainer implements
* @param c
*/
public void setSelectedTab(Component c) {
- if (c != null && components.contains(c) && !selected.equals(c)) {
+ if (c != null && components.contains(c) && !c.equals(selected)) {
selected = c;
fireSelectedTabChange();
requestRepaint();