diff options
Diffstat (limited to 'components/chatwindow.cpp')
-rw-r--r-- | components/chatwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/chatwindow.cpp b/components/chatwindow.cpp index 25f6831..ee88ae3 100644 --- a/components/chatwindow.cpp +++ b/components/chatwindow.cpp @@ -136,9 +136,10 @@ bool ChatWindow::on_key_press_event(GdkEventKey *e) { return false; auto text = buffer->get_text(); - buffer->set_text(""); + m_abaddon->ActionChatInputSubmit(text, m_active_channel); + return true; } |