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.

[1] https://conference.gajim.org:5281/muc_log/gajim/2019-09-10#df591057-8693-4e76-bbc2-334d839c6adc
parent ed80f936
Pipeline #4230 passed with stages
in 2 minutes and 23 seconds
......@@ -698,6 +698,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
if event.keyval == Gdk.KEY_Page_Down or \
event.keyval == Gdk.KEY_Page_Up:
self.conv_textview.tv.event(event)
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