Added missing render call

This commit is contained in:
Tristan B. Kildaire 2020-10-18 16:34:41 +02:00
parent 29b1bc84c7
commit a6bcf811f1
1 changed files with 4 additions and 1 deletions

View File

@ -112,12 +112,15 @@ public final class Channel
string message = textInput.getBuffer().getText();
/* TODO: Add the message to our log (as it won't be delivered to us) */
addMessage(message);
/* Send the message */
client.sendMessage(0, channelName, message);
/* Clear the text box */
textInput.getBuffer().setText("");
box.showAll();
}
public Box getBox()
@ -191,6 +194,6 @@ public final class Channel
public void addMessage(string s)
{
textArea.add(new Label(s));
}
}