BugFix: on destroy, window does not close every terminal in it

This commit is contained in:
Vulcalien 2021-08-27 18:54:21 +02:00
parent dea06ed3bd
commit 28e76fe469
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class Window(Container, Gtk.Window):
def on_destroy_event(self, widget, data=None):
"""Handle window destruction"""
dbg('destroying self')
for terminal in self.get_visible_terminals():
for terminal in self.get_terminals():
terminal.close()
self.cnxids.remove_all()
self.terminator.deregister_window(self)