Commit 16046d7e authored by Andrey Gursky's avatar Andrey Gursky

ChatControlBase: fix autoscroll on keyboard shortcuts

The issue reported by concerto [1] is a regression since af312830.

parent ed80f936
......@@ -698,6 +698,7 @@ def _on_message_textview_key_press_event(self, widget, event):
if event.keyval == Gdk.KEY_Page_Down or \
event.keyval == Gdk.KEY_Page_Up:
self._on_scroll(None, event.keyval)
return True
if event.get_state() & Gdk.ModifierType.CONTROL_MASK:
if event.keyval == Gdk.KEY_Tab: # CTRL + TAB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment