- BUGFIX: Fixed progress column delayed sorting (after torrent finished checking)

This commit is contained in:
Christophe Dumez 2007-08-07 23:15:46 +00:00
parent f9c357b52d
commit 8b26b7fd48
3 changed files with 10 additions and 3 deletions

View file

@ -185,6 +185,11 @@ void FinishedTorrents::updateFinishedList(){
continue;
}
}
if(BTSession->getUncheckedTorrentsList().indexOf(hash) != -1){
if(torrentStatus.state != torrent_status::checking_files && torrentStatus.state != torrent_status::queued_for_checking){
BTSession->setTorrentFinishedChecking(hash);
}
}
if(h.is_paused()) continue;
if(torrentStatus.state == torrent_status::downloading || (torrentStatus.state != torrent_status::checking_files && torrentStatus.state != torrent_status::queued_for_checking && torrentStatus.progress != 1.)) {
// What are you doing here? go back to download tab!