Disconnect child after detaching the tab

This commit is contained in:
Vulcalien 2021-08-26 18:42:58 +02:00
parent e9b29a1dfc
commit 387bcd2ee3
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ class Notebook(Container, Gtk.Notebook):
window.resize(size.width, size.height) window.resize(size.width, size.height)
self.detach_tab(widget) self.detach_tab(widget)
self.disconnect_child(widget)
self.hoover() self.hoover()
window.add(widget) window.add(widget)