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

don't handle keypressed in message textview is textview is not sensitive (not...

don't handle keypressed in message textview is textview is not sensitive (not yet connected). Fixes #5833
parent 05f90734
No related branches found
No related tags found
No related merge requests found
......@@ -1875,6 +1875,9 @@ class GroupchatControl(ChatControlBase):
# NOTE: handles mykeypress which is custom signal connected to this
# CB in new_room(). for this singal see message_textview.py
if not widget.get_sensitive():
# Textview is not sensitive, don't handle keypress
return
# construct event instance from binding
event = gtk.gdk.Event(gtk.gdk.KEY_PRESS) # it's always a key-press here
event.keyval = event_keyval
......
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