- Fixed torrents moving back from finished list to download list (without recheck)

This commit is contained in:
Christophe Dumez 2008-12-26 22:30:23 +00:00
parent 51638eddcc
commit a3cfa6bba1
3 changed files with 12 additions and 5 deletions

View file

@ -1365,7 +1365,11 @@ void GUI::updateLists(bool force) {
finishedTorrentTab->updateTorrent(h);
} else {
// Update in download list
downloadingTorrentTab->updateTorrent(h);
if(downloadingTorrentTab->updateTorrent(h)) {
// Torrent was added, we may need to remove it from finished tab
finishedTorrentTab->deleteTorrent(h.hash());
QFile::remove(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+h.hash()+".finished");
}
}
}
}