]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed copy/paste error
authorArtur Signell <artur@vaadin.com>
Wed, 5 Sep 2012 16:18:55 +0000 (19:18 +0300)
committerArtur Signell <artur@vaadin.com>
Wed, 5 Sep 2012 16:45:49 +0000 (19:45 +0300)
server/src/com/vaadin/ui/Panel.java

index de34c0be2cf297530443310b7de574c346a9bfbb..c70c72f3411d775fa47a55b63f6f49320c294709 100644 (file)
@@ -463,7 +463,7 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
      **/
     @Deprecated
     public void removeListener(ClickListener listener) {
-        addClickListener(listener);
+        removeClickListener(listener);
     }
 
     /**