aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-11-06 10:17:28 +0200
committerJohn Ahlroos <john@vaadin.com>2012-11-06 10:17:28 +0200
commit96b03a07b81242892fc3e51f28a33bf6c78d900a (patch)
tree4c4dbf9fbbee5f9ca59a63c2f4d9c0c5baa2c006 /client
parent042e41b5fef2b860457e247eee7d443d3ef9b8f0 (diff)
downloadvaadin-framework-96b03a07b81242892fc3e51f28a33bf6c78d900a.tar.gz
vaadin-framework-96b03a07b81242892fc3e51f28a33bf6c78d900a.zip
Fixed typo in VOrderedLayout.detachListeners
Change-Id: I7a749e320df4c7e8cfcfaf4571d13b253b17ee9e
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/orderedlayout/VOrderedLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/orderedlayout/VOrderedLayout.java b/client/src/com/vaadin/client/ui/orderedlayout/VOrderedLayout.java
index ad17eebe47..24e3576b49 100644
--- a/client/src/com/vaadin/client/ui/orderedlayout/VOrderedLayout.java
+++ b/client/src/com/vaadin/client/ui/orderedlayout/VOrderedLayout.java
@@ -260,7 +260,7 @@ public class VOrderedLayout extends FlowPanel {
* elements
*/
private void detachListeners() {
- if (getWidget() == null && getLayoutManager() != null) {
+ if (getWidget() != null && getLayoutManager() != null) {
LayoutManager lm = getLayoutManager();
if (getCaptionElement() != null
&& captionResizeListener != null) {