diff options
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/ui/chat_input/chat_text_view.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/ui/chat_input/chat_text_view.vala b/main/src/ui/chat_input/chat_text_view.vala index 72ebc845..aa246d8d 100644 --- a/main/src/ui/chat_input/chat_text_view.vala +++ b/main/src/ui/chat_input/chat_text_view.vala @@ -102,7 +102,8 @@ public class ChatTextView : Box { } if ((state & ModifierType.SHIFT_MASK) > 0) { - text_view.buffer.insert_at_cursor("\n", 1); + // Let the default handler normally insert a newline if shift was hold + return false; } else if (text_view.buffer.text.strip() != "") { send_text(); } |