prevent TB. fixes #2936
This commit is contained in:
parent
d7b9b50a67
commit
0014e6e597
1 changed files with 3 additions and 0 deletions
|
@ -297,6 +297,9 @@ class HistoryWindow:
|
||||||
the True/False thingy depending if it's expanded or not
|
the True/False thingy depending if it's expanded or not
|
||||||
this function is called in a timeout just after expanded state changes'''
|
this function is called in a timeout just after expanded state changes'''
|
||||||
parent = widget.get_parent() # vbox
|
parent = widget.get_parent() # vbox
|
||||||
|
if not parent:
|
||||||
|
# Windows closed since we launch timeout
|
||||||
|
return
|
||||||
expanded = widget.get_expanded()
|
expanded = widget.get_expanded()
|
||||||
w, h = self.window.get_size()
|
w, h = self.window.get_size()
|
||||||
if expanded: # resize to larger in height the window
|
if expanded: # resize to larger in height the window
|
||||||
|
|
Loading…
Add table
Reference in a new issue