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

This commit is contained in:
sledgehammer999 2015-12-13 14:33:16 +02:00
commit 8474d0d199

View file

@ -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;