fix on_vadjustment TB

This commit is contained in:
Brendan Taylor 2008-05-31 00:54:57 +00:00
parent 0b16f4bb20
commit 1796a6006b
1 changed files with 1 additions and 1 deletions

View File

@ -924,7 +924,7 @@ class ChatControlBase(MessageControl):
self.parent_win.get_active_control() == self and \
self.parent_win.window.is_active():
# we are at the end
if self.session.remove_events(types_list):
if self.session and self.session.remove_events(types_list):
# There were events to remove
self.redraw_after_event_removed(jid)