mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-07 08:02:30 -06:00
Prevent return cached "sequential download" state. Closes #4167.
This commit is contained in:
@@ -1128,6 +1128,7 @@ void TorrentHandle::setSequentialDownload(bool b)
|
|||||||
{
|
{
|
||||||
if (b != isSequentialDownload()) {
|
if (b != isSequentialDownload()) {
|
||||||
SAFE_CALL(set_sequential_download, b);
|
SAFE_CALL(set_sequential_download, b);
|
||||||
|
m_nativeStatus.sequential_download = b; // prevent return cached value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user