From e804e6e91ad25cc78cad3a765344485d2a9d1a5e Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Thu, 26 Nov 2015 15:09:11 +0300 Subject: [PATCH] Prevent return cached "sequential download" state. Closes #4167. --- src/core/bittorrent/torrenthandle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/bittorrent/torrenthandle.cpp b/src/core/bittorrent/torrenthandle.cpp index b6f80ab60..9e704a26b 100644 --- a/src/core/bittorrent/torrenthandle.cpp +++ b/src/core/bittorrent/torrenthandle.cpp @@ -1128,6 +1128,7 @@ void TorrentHandle::setSequentialDownload(bool b) { if (b != isSequentialDownload()) { SAFE_CALL(set_sequential_download, b); + m_nativeStatus.sequential_download = b; // prevent return cached value } }