diff --git a/src/groupchat_control.py b/src/groupchat_control.py
index 9296667f3f1ecd84a8282f0008f378d4ff86896a..3f50750e2618d1d122e4a8895f4a31fa753fc66e 100644
--- a/src/groupchat_control.py
+++ b/src/groupchat_control.py
@@ -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