Skip to content

Commit

Permalink
Update download progress in channels on dl polls
Browse files Browse the repository at this point in the history
  • Loading branch information
ichorid committed Dec 29, 2020
1 parent 38eff97 commit 655794a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tribler-gui/tribler_gui/widgets/downloadspage.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ def on_received_downloads(self, downloads):

items = []
for download in downloads["downloads"]:
# Update download progress information for torrents in the Channels GUI
self.window().core_manager.events_manager.node_info_updated.emit(
{"infohash": download["infohash"], "progress": download["progress"]}
)

if download["infohash"] in self.download_widgets:
item = self.download_widgets[download["infohash"]]
else:
Expand Down

0 comments on commit 655794a

Please sign in to comment.