From 8474d0d1991db601ffdc8b8cb5bf264e22291b56 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sun, 13 Dec 2015 14:33:16 +0200 Subject: [PATCH] Don't recheck twice after 'Force Recheck' with 'Recheck torrents on completion' enabled. Closes #4274. --- src/base/bittorrent/torrenthandle.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/base/bittorrent/torrenthandle.cpp b/src/base/bittorrent/torrenthandle.cpp index de6ca9c5e..707c1b08a 100644 --- a/src/base/bittorrent/torrenthandle.cpp +++ b/src/base/bittorrent/torrenthandle.cpp @@ -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;