From 05b7194bf7dd3331db7b335bb39c764cbe09c87c Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Sat, 22 Oct 2022 17:43:17 +0300 Subject: [PATCH] Correctly set "stop condition" on force recheck invoked PR #17915. Closes #17913. --- src/base/bittorrent/torrentimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/torrentimpl.cpp b/src/base/bittorrent/torrentimpl.cpp index d79c45df6..7c49d6a5b 100644 --- a/src/base/bittorrent/torrentimpl.cpp +++ b/src/base/bittorrent/torrentimpl.cpp @@ -1429,7 +1429,7 @@ void TorrentImpl::forceRecheck() { // When "force recheck" is applied on paused torrent, we temporarily resume it resume(); - setStopCondition(StopCondition::FilesChecked); + m_stopCondition = StopCondition::FilesChecked; } }