summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/com/vaadin/ui/Panel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/Panel.java b/server/src/com/vaadin/ui/Panel.java
index de34c0be2c..c70c72f341 100644
--- a/server/src/com/vaadin/ui/Panel.java
+++ b/server/src/com/vaadin/ui/Panel.java
@@ -463,7 +463,7 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
**/
@Deprecated
public void removeListener(ClickListener listener) {
- addClickListener(listener);
+ removeClickListener(listener);
}
/**