From 80bd3702167b80102be0e06f82c4f2939d95f8aa Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 17 Jul 2006 12:48:07 +0000 Subject: [PATCH] Fix TB. Fixes #2029 --- src/chat_control.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/chat_control.py b/src/chat_control.py index c5d9227bd..e26b7fbdc 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -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