mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
Update toolbar buttons on torrentview update
This commit is contained in:
parent
8f4a96c8e7
commit
8ca5682449
@ -328,6 +328,9 @@ class TorrentView(listview.ListView, component.Component):
|
||||
except:
|
||||
pass
|
||||
|
||||
# Update the toolbar buttons just in case some state has changed
|
||||
component.get("ToolBar").update_buttons()
|
||||
|
||||
def _on_get_torrents_status(self, status):
|
||||
"""Callback function for get_torrents_status(). 'status' should be a
|
||||
dictionary of {torrent_id: {key, value}}."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user