From 1796a6006b49435684cb3467ea2b97046a3dc7d0 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Sat, 31 May 2008 00:54:57 +0000 Subject: [PATCH] fix on_vadjustment TB --- src/chat_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat_control.py b/src/chat_control.py index ad55bcea9..9f6b9093d 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -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)