If there are no more Terminals, destroy all Windows
This commit is contained in:
parent
efbeffb060
commit
7a3f553d82
@ -66,6 +66,10 @@ class Terminator(Borg):
|
||||
dbg('Terminator::deregister_terminal: de-registering %s' % terminal)
|
||||
self.terminals.remove(terminal)
|
||||
|
||||
if len(self.terminals) == 0:
|
||||
for window in self.windows:
|
||||
window.destroy()
|
||||
|
||||
def reconfigure_terminals(self):
|
||||
"""Tell all terminals to update their configuration"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user