Skip to content

Commit

Permalink
Update TextArea.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ImmediandoSrl authored Jun 17, 2024
1 parent 5bfdfdc commit f513336
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CodenameOne/src/com/codename1/ui/TextArea.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f513336

Please sign in to comment.