diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2009-09-08 05:58:10 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2009-09-08 05:58:10 +0000 |
commit | 00b6da08af232cfa3cfa5e569561cdbf0cbabaf3 (patch) | |
tree | 49d9225eb814a731b7c20759c7177d35aecbdcc2 /src/com/vaadin | |
parent | c0a721bbfe045d84026db7cceb5b9366c03aa912 (diff) | |
download | vaadin-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.java | 2 |
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(); |