Browse Source

Prevent return cached "sequential download" state. Closes #4167.

adaptive-webui-19844
Vladimir Golovnev (Glassez) 9 years ago
parent
commit
e804e6e91a
  1. 1
      src/core/bittorrent/torrenthandle.cpp

1
src/core/bittorrent/torrenthandle.cpp

@ -1128,6 +1128,7 @@ void TorrentHandle::setSequentialDownload(bool b) @@ -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
}
}

Loading…
Cancel
Save