diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tabs/basetabs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py index 84469df4..d9225468 100644 --- a/src/tabs/basetabs.py +++ b/src/tabs/basetabs.py @@ -90,7 +90,8 @@ class Tab(object): plugin_commands = {} plugin_keys = {} def __init__(self): - self.name = self.__class__.__name__ + if not hasattr(self, 'name'): + self.name = self.__class__.__name__ self.input = None self._state = 'normal' self._prev_state = None |