mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
- Fixed torrents moving back from finished list to download list (without recheck)
This commit is contained in:
parent
51638eddcc
commit
a3cfa6bba1
3 changed files with 12 additions and 5 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue