mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-30 06:35:31 +00:00
Fix issue with Plugins that add Tab to torrentdetails
This commit is contained in:
parent
e9ba3972ad
commit
821f395d8b
1 changed files with 2 additions and 0 deletions
|
@ -204,6 +204,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…
Add table
Add a link
Reference in a new issue