Fixed the Total Download summary to show the correct amount.
This commit is contained in:
parent
fff2bd45b6
commit
0b78316d65
|
@ -684,7 +684,7 @@ class DelugeGTK:
|
||||||
self.wtree.get_widget("summary_name").set_text(state['name'])
|
self.wtree.get_widget("summary_name").set_text(state['name'])
|
||||||
self.text_summary_total_size.set_text(common.fsize(state["total_size"]))
|
self.text_summary_total_size.set_text(common.fsize(state["total_size"]))
|
||||||
self.text_summary_pieces.set_text(str(state["num_pieces"]))
|
self.text_summary_pieces.set_text(str(state["num_pieces"]))
|
||||||
self.text_summary_total_downloaded.set_text(common.fsize(state["total_done"] + state["total_payload_download"]))
|
self.text_summary_total_downloaded.set_text(common.fsize(state["total_done"]))
|
||||||
self.text_summary_total_uploaded.set_text(common.fsize(self.manager.unique_IDs[self.get_selected_torrent()].uploaded_memory + state["total_payload_upload"]))
|
self.text_summary_total_uploaded.set_text(common.fsize(self.manager.unique_IDs[self.get_selected_torrent()].uploaded_memory + state["total_payload_upload"]))
|
||||||
self.text_summary_download_rate.set_text(common.frate(state["download_rate"]))
|
self.text_summary_download_rate.set_text(common.frate(state["download_rate"]))
|
||||||
self.text_summary_upload_rate.set_text(common.frate(state["upload_rate"]))
|
self.text_summary_upload_rate.set_text(common.frate(state["upload_rate"]))
|
||||||
|
|
Loading…
Reference in New Issue