mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Make sure the progress is not 100% unless the file is complete
This commit is contained in:
@@ -285,6 +285,8 @@ var createPriorityCombo = function(id, selected_prio) {
|
||||
row[1] = file.name;
|
||||
row[2] = file.size;
|
||||
row[3] = (file.progress*100).round(1);
|
||||
if(row[3] == 100.0 && file.progress < 1.0)
|
||||
row[3] = 99.9
|
||||
row[4] = file.priority;
|
||||
fTable.insertRow(i, row);
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user