aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/com/vaadin/ui/Button.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/Button.java b/server/src/com/vaadin/ui/Button.java
index c272662740..45d18a5620 100644
--- a/server/src/com/vaadin/ui/Button.java
+++ b/server/src/com/vaadin/ui/Button.java
@@ -566,7 +566,8 @@ public class Button extends AbstractComponent implements
* typically to prevent (accidental) extra clicks on a button.
* <p>
* Note that this is only used when the click comes from the user, not when
- * calling {@link #click()}.
+ * calling {@link #click()} method programmatically. Also, if developer
+ * wants to re-enable the button, it needs to be done programmatically.
* </p>
*
* @param disableOnClick