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
This commit is contained in:
parent
b0060e71f6
commit
9d49c12dea
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue