mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 20:14:13 +00:00
Fix issue with Plugins that add Tab to torrentdetails
This commit is contained in:
parent
7598312969
commit
e183e2ff04
@ -205,6 +205,8 @@ class TorrentDetails(component.Component):
|
|||||||
tab.is_visible = False
|
tab.is_visible = False
|
||||||
|
|
||||||
self.tabs[name] = tab
|
self.tabs[name] = tab
|
||||||
|
if name not in self.translate_tabs:
|
||||||
|
self.translate_tabs[name] = _(name)
|
||||||
|
|
||||||
self.regenerate_positions()
|
self.regenerate_positions()
|
||||||
if generate_menu:
|
if generate_menu:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user