Skip to content
Snippets Groups Projects
Commit 9d49c12d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

when we press a "normal" key and message_buffer doesn't have the focus, we...

when we press a "normal" key and message_buffer doesn't have the focus, we give it the focus, and we send it the event
parent b0060e71
No related branches found
No related tags found
No related merge requests found
......@@ -310,6 +310,7 @@ class Chat:
message_textview = self.xmls[jid].get_widget('message_textview')
if not message_textview.is_focus():
message_textview.grab_focus()
message_textview.emit('key_press_event', event)
def on_conversation_vadjustment_value_changed(self, widget):
jid = self.get_active_jid()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment