summaryrefslogtreecommitdiff
path: root/ui/chat_window.gd
diff options
context:
space:
mode:
Diffstat (limited to 'ui/chat_window.gd')
-rw-r--r--ui/chat_window.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/chat_window.gd b/ui/chat_window.gd
index d43791f..c88a3ee 100644
--- a/ui/chat_window.gd
+++ b/ui/chat_window.gd
@@ -35,6 +35,7 @@ func add_message(message: String, format: ChatMessageFormat):
func _on_line_edit_text_submitted(new_text: String) -> void:
%LineEdit.text = ""
+ %LineEdit.grab_focus()
var send_chat_message_packet := SendChatMessagePacket.new()
send_chat_message_packet.message = "%s : %s" % [Client.character.name, new_text]