diff options
Diffstat (limited to 'src/tabs/basetabs.py')
-rw-r--r-- | src/tabs/basetabs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py index ca8dafae..bb0c0ea4 100644 --- a/src/tabs/basetabs.py +++ b/src/tabs/basetabs.py @@ -90,6 +90,7 @@ class Tab(object): if not hasattr(self, 'name'): self.name = self.__class__.__name__ self.input = None + self.closed = False self._state = 'normal' self._prev_state = None @@ -404,6 +405,7 @@ class Tab(object): """ if self.input: self.input.on_delete() + self.closed = True def matching_names(self): """ |