1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 20:44:15 +00:00

Real time sorting of progress column was broken by ealier patch -> Fixed

This commit is contained in:
Christophe Dumez 2007-06-29 08:14:43 +00:00
parent faaa700270
commit 1910ee20dd

View File

@ -679,9 +679,13 @@ void GUI::sortDownloadList(int index, Qt::SortOrder startSortOrder, bool fromLoa
sortDownloadListFloat(index, sortOrder);
break;
case PROGRESS:
// Progress sorting must be delayed until files are checked
if(fromLoadColWidth){
// Progress sorting must be delayed until files are checked (on startup)
delayedSorting = true;
delayedSortingOrder = sortOrder;
}else{
sortDownloadListFloat(index, sortOrder);
}
break;
default:
sortDownloadListString(index, sortOrder);