Commit b8972ad9 authored by mathieui's avatar mathieui

Fix a traceback when creating a gaptab

parent 5cfe79e5
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment