aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/AbstractSplitPanel.java
diff options
context:
space:
mode:
authorJohn Alhroos <john.ahlroos@itmill.com>2010-12-14 12:36:21 +0000
committerJohn Alhroos <john.ahlroos@itmill.com>2010-12-14 12:36:21 +0000
commit151abd3c3e6fc092a1f0ad95a4d7ab0440ee90b5 (patch)
tree76155f4a944c7535f883ede92158e2ce848fcefa /src/com/vaadin/ui/AbstractSplitPanel.java
parente305146a832a69e580cbccb8f6c1359450782422 (diff)
downloadvaadin-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.java2
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();