Fix TB. Fixes #2029

This commit is contained in:
Yann Leboulanger 2006-07-17 12:48:07 +00:00
parent 9971fc5568
commit 80bd370216
1 changed files with 3 additions and 0 deletions

View File

@ -1575,6 +1575,9 @@ class ChatControl(ChatControlBase):
def show_bigger_avatar(self, small_avatar): def show_bigger_avatar(self, small_avatar):
'''resizes the avatar, if needed, so it has at max half the screen size '''resizes the avatar, if needed, so it has at max half the screen size
and shows it''' and shows it'''
if not small_avatar.window:
# Tab has been closed since we hovered the avatar
return
is_fake = False is_fake = False
if self.type_id == message_control.TYPE_PM: if self.type_id == message_control.TYPE_PM:
is_fake = True is_fake = True