mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
BUGFIX: Do not report a progress of 100% in the Web UI unless the
torrent is really complete (closes #674349)
This commit is contained in:
@@ -259,6 +259,8 @@ window.addEvent('load', function(){
|
|||||||
row[2] = event.priority
|
row[2] = event.priority
|
||||||
row[3] = event.size;
|
row[3] = event.size;
|
||||||
row[4] = (event.progress*100).round(1);
|
row[4] = (event.progress*100).round(1);
|
||||||
|
if(row[4] == 100.0 && event.progress != 1.0)
|
||||||
|
row[4] = 99.9;
|
||||||
row[5] = event.num_seeds;
|
row[5] = event.num_seeds;
|
||||||
row[6] = event.num_leechs;
|
row[6] = event.num_leechs;
|
||||||
row[7] = event.dlspeed;
|
row[7] = event.dlspeed;
|
||||||
|
|||||||
Reference in New Issue
Block a user