diff --git a/terminatorlib/notebook.py b/terminatorlib/notebook.py index 540e6579..fb8ae0a3 100644 --- a/terminatorlib/notebook.py +++ b/terminatorlib/notebook.py @@ -226,7 +226,7 @@ def remove(self, widget): err('%s not found in Notebook. Actual parent is: %s' % (widget, widget.get_parent())) return(False) - self.remove_page(page_num) + self.detach_tab(page_num) self.disconnect_child(widget) return(True)