Browse Source

Don't recheck twice after 'Force Recheck' with 'Recheck torrents on completion' enabled. Closes #4274.

adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
2d25edd4d6
  1. 2
      src/base/bittorrent/torrenthandle.cpp

2
src/base/bittorrent/torrenthandle.cpp

@ -1368,6 +1368,8 @@ void TorrentHandle::handleTorrentCheckedAlert(libtorrent::torrent_checked_alert @@ -1368,6 +1368,8 @@ void TorrentHandle::handleTorrentCheckedAlert(libtorrent::torrent_checked_alert
if (progress() < 1.0 && wantedSize() > 0)
m_hasSeedStatus = false;
else if (progress() == 1.0)
m_hasSeedStatus = true;
if (m_pauseAfterRecheck) {
m_pauseAfterRecheck = false;

Loading…
Cancel
Save