mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fix menubar component stopping properly
This commit is contained in:
parent
1557d0da1f
commit
6d55c44983
1 changed files with 0 additions and 3 deletions
|
@ -213,9 +213,6 @@ class MenuBar(component.Component):
|
|||
|
||||
def stop(self):
|
||||
log.debug("MenuBar stopping")
|
||||
if client.get_auth_level() == deluge.common.AUTH_LEVEL_ADMIN:
|
||||
# If not an admin, no submenu was added
|
||||
self.menuitem_change_owner.remove_submenu()
|
||||
|
||||
for widget in self.change_sensitivity:
|
||||
self.window.main_glade.get_widget(widget).set_sensitive(False)
|
||||
|
|
Loading…
Add table
Reference in a new issue