Fix moving between lines with up and down arrows.

This commit is contained in:
Tomasz Miąsko 2017-01-24 12:52:49 +01:00
parent 2e133d2572
commit 0b7d6cc175
1 changed files with 2 additions and 3 deletions

View File

@ -676,7 +676,6 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
else: # Ctrl+Down else: # Ctrl+Down
self.scroll_messages('down', message_buffer, 'sent') self.scroll_messages('down', message_buffer, 'sent')
return True return True
elif event.keyval == Gdk.KEY_Return or \ elif event.keyval == Gdk.KEY_Return or \
event.keyval == Gdk.KEY_KP_Enter: # ENTER event.keyval == Gdk.KEY_KP_Enter: # ENTER
if event_state & Gdk.ModifierType.SHIFT_MASK: if event_state & Gdk.ModifierType.SHIFT_MASK: