fix on_vadjustment TB
This commit is contained in:
parent
0b16f4bb20
commit
1796a6006b
|
@ -924,7 +924,7 @@ class ChatControlBase(MessageControl):
|
||||||
self.parent_win.get_active_control() == self and \
|
self.parent_win.get_active_control() == self and \
|
||||||
self.parent_win.window.is_active():
|
self.parent_win.window.is_active():
|
||||||
# we are at the end
|
# 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
|
# There were events to remove
|
||||||
self.redraw_after_event_removed(jid)
|
self.redraw_after_event_removed(jid)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue