GUI: Clear messagefield after text has been processed
This commit is contained in:
parent
361037ab9a
commit
60338e4bbb
|
@ -86,6 +86,7 @@ public class ChatWindowController {
|
|||
return;
|
||||
}
|
||||
String messageString = messageField.getText().strip();
|
||||
messageField.clear();
|
||||
Matcher matcher = messagePattern.matcher(messageString);
|
||||
if (matcher.find()) {
|
||||
String receiver = matcher.group(1);
|
||||
|
|
Loading…
Reference in New Issue