Fix TB. Fixes #2029
This commit is contained in:
parent
9971fc5568
commit
80bd370216
|
@ -1575,6 +1575,9 @@ class ChatControl(ChatControlBase):
|
|||
def show_bigger_avatar(self, small_avatar):
|
||||
'''resizes the avatar, if needed, so it has at max half the screen size
|
||||
and shows it'''
|
||||
if not small_avatar.window:
|
||||
# Tab has been closed since we hovered the avatar
|
||||
return
|
||||
is_fake = False
|
||||
if self.type_id == message_control.TYPE_PM:
|
||||
is_fake = True
|
||||
|
|
Loading…
Reference in New Issue