Fix a traceback when creating a gaptab
This commit is contained in:
parent
5cfe79e5e1
commit
b8972ad940
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue