diff options
author | John Alhroos <john.ahlroos@itmill.com> | 2010-12-14 12:36:21 +0000 |
---|---|---|
committer | John Alhroos <john.ahlroos@itmill.com> | 2010-12-14 12:36:21 +0000 |
commit | 151abd3c3e6fc092a1f0ad95a4d7ab0440ee90b5 (patch) | |
tree | 76155f4a944c7535f883ede92158e2ce848fcefa /src/com/vaadin/ui/AbstractSplitPanel.java | |
parent | e305146a832a69e580cbccb8f6c1359450782422 (diff) | |
download | vaadin-framework-151abd3c3e6fc092a1f0ad95a4d7ab0440ee90b5.tar.gz vaadin-framework-151abd3c3e6fc092a1f0ad95a4d7ab0440ee90b5.zip |
Calling SplitPanel.removeComponent with any component or null always removes the second component fixed.
svn changeset:16498/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/ui/AbstractSplitPanel.java')
-rw-r--r-- | src/com/vaadin/ui/AbstractSplitPanel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/AbstractSplitPanel.java b/src/com/vaadin/ui/AbstractSplitPanel.java index 41620f7c7d..3af4d941ba 100644 --- a/src/com/vaadin/ui/AbstractSplitPanel.java +++ b/src/com/vaadin/ui/AbstractSplitPanel.java @@ -165,7 +165,7 @@ public class AbstractSplitPanel extends AbstractLayout { super.removeComponent(c); if (c == firstComponent) { firstComponent = null; - } else { + } else if (c == secondComponent) { secondComponent = null; } requestRepaint(); |