diff --git a/CodenameOne/src/com/codename1/ui/TextArea.java b/CodenameOne/src/com/codename1/ui/TextArea.java index ca1b81652e..aa07240721 100644 --- a/CodenameOne/src/com/codename1/ui/TextArea.java +++ b/CodenameOne/src/com/codename1/ui/TextArea.java @@ -2196,7 +2196,10 @@ public ActionListener getDoneListener() { /** * Fire the done event to done listener */ - public void fireDoneEvent(int keyEvent) { + public void fireDoneEvent() { + fireDoneEvent(-1); + } + public void fireDoneEvent(final int keyEvent) { if (doneListener != null) { if (!Display.getInstance().isEdt()) { Display.getInstance().callSerially(new Runnable() {