Fix issue with Plugins that add Tab to torrentdetails

This commit is contained in:
Calum Lind 2013-02-27 17:44:52 +00:00
parent 7598312969
commit e183e2ff04
1 changed files with 2 additions and 0 deletions

View File

@ -205,6 +205,8 @@ class TorrentDetails(component.Component):
tab.is_visible = False
self.tabs[name] = tab
if name not in self.translate_tabs:
self.translate_tabs[name] = _(name)
self.regenerate_positions()
if generate_menu: