From 0014e6e597567de1915d6cd77ea052d9607cf30d Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 24 Jan 2007 20:57:41 +0000 Subject: [PATCH] prevent TB. fixes #2936 --- src/history_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/history_window.py b/src/history_window.py index ae76796f4..3ceb10594 100644 --- a/src/history_window.py +++ b/src/history_window.py @@ -297,6 +297,9 @@ class HistoryWindow: the True/False thingy depending if it's expanded or not this function is called in a timeout just after expanded state changes''' parent = widget.get_parent() # vbox + if not parent: + # Windows closed since we launch timeout + return expanded = widget.get_expanded() w, h = self.window.get_size() if expanded: # resize to larger in height the window