Skip to content
Snippets Groups Projects
Commit 0014e6e5 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

prevent TB. fixes #2936

parent d7b9b50a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment