diff options
author | Henri Sara <henri.sara@itmill.com> | 2010-05-26 11:09:50 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2010-05-26 11:09:50 +0000 |
commit | e2867b081a01f0b419b38ca3539c3756df9736ec (patch) | |
tree | b36d45e60623b5240fea75616fcddc8bebc7c1fd | |
parent | 5e516e776ecfadf8f343360644ada9fbd1e22ce8 (diff) | |
download | vaadin-framework-e2867b081a01f0b419b38ca3539c3756df9736ec.tar.gz vaadin-framework-e2867b081a01f0b419b38ca3539c3756df9736ec.zip |
TabSheet: break out of loop earlier when suitable selected component found
svn changeset:13374/svn branch:6.3
-rw-r--r-- | src/com/vaadin/ui/TabSheet.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/TabSheet.java b/src/com/vaadin/ui/TabSheet.java index f6dae38372..02af64a5fe 100644 --- a/src/com/vaadin/ui/TabSheet.java +++ b/src/com/vaadin/ui/TabSheet.java @@ -495,6 +495,7 @@ public class TabSheet extends AbstractComponentContainer { // it if (tab.isEnabled() && tab.isVisible()) { selected = component; + break; } else { /* * The current selection is not valid but this tab cannot be |