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 e9ba3972ad
commit 821f395d8b
1 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,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: