Added grandparent.resize_children() in Terminator.remove()
to force the terminal term to have the right size when returning otherwise, resizing is delayed and dnd between 2 siblings will squeeze a term
This commit is contained in:
parent
bd86949ad6
commit
246b7a1e36
|
@ -879,6 +879,7 @@ class Terminator:
|
||||||
parent.remove(widget.get_box())
|
parent.remove(widget.get_box())
|
||||||
grandparent.remove (parent)
|
grandparent.remove (parent)
|
||||||
sibling.reparent (grandparent)
|
sibling.reparent (grandparent)
|
||||||
|
grandparent.resize_children()
|
||||||
parent.destroy ()
|
parent.destroy ()
|
||||||
self.term_list.remove (widget)
|
self.term_list.remove (widget)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue