mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
- Update queue when pausing a torrent
This commit is contained in:
parent
48ec57604f
commit
e27b08d970
1 changed files with 4 additions and 0 deletions
|
@ -761,6 +761,10 @@ bool bittorrent::pauseTorrent(QString hash) {
|
|||
change = true;
|
||||
// Save fast resume data
|
||||
saveFastResumeAndRatioData(hash);
|
||||
if(queueingEnabled) {
|
||||
updateDownloadQueue();
|
||||
updateUploadQueue();
|
||||
}
|
||||
qDebug("Torrent paused successfully");
|
||||
emit pausedTorrent(hash);
|
||||
}else{
|
||||
|
|
Loading…
Reference in a new issue