mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-03 16:45:33 +00:00
Update toolbar buttons on torrentview update
This commit is contained in:
parent
8f4a96c8e7
commit
8ca5682449
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue