mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Fix torrent properties not saved for paused torrents
This commit is contained in:
parent
bad60058df
commit
4ab32a76f6
1 changed files with 4 additions and 0 deletions
|
@ -1285,6 +1285,8 @@ void TorrentHandle::setSequentialDownload(bool b)
|
||||||
m_nativeHandle.set_sequential_download(b);
|
m_nativeHandle.set_sequential_download(b);
|
||||||
m_nativeStatus.sequential_download = b; // prevent return cached value
|
m_nativeStatus.sequential_download = b; // prevent return cached value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
saveResumeData();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TorrentHandle::toggleSequentialDownload()
|
void TorrentHandle::toggleSequentialDownload()
|
||||||
|
@ -1331,6 +1333,8 @@ void TorrentHandle::setFirstLastPiecePriorityImpl(const bool enabled, const QVec
|
||||||
|
|
||||||
LogMsg(tr("Download first and last piece first: %1, torrent: '%2'")
|
LogMsg(tr("Download first and last piece first: %1, torrent: '%2'")
|
||||||
.arg((enabled ? tr("On") : tr("Off")), name()));
|
.arg((enabled ? tr("On") : tr("Off")), name()));
|
||||||
|
|
||||||
|
saveResumeData();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TorrentHandle::toggleFirstLastPiecePriority()
|
void TorrentHandle::toggleFirstLastPiecePriority()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue