From f56f817c774cb2796c3623a5cd1bebf089359060 Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Wed, 1 Jan 2020 14:29:58 +0300 Subject: [PATCH] Save resume data after recheck Closes #11774. --- src/base/bittorrent/torrenthandle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/bittorrent/torrenthandle.cpp b/src/base/bittorrent/torrenthandle.cpp index df39f8ba7..823bf5077 100644 --- a/src/base/bittorrent/torrenthandle.cpp +++ b/src/base/bittorrent/torrenthandle.cpp @@ -1772,11 +1772,12 @@ void TorrentHandle::handleTorrentPausedAlert(const lt::torrent_paused_alert *p) if (!m_pauseWhenReady) { updateStatus(); m_speedMonitor.reset(); - m_session->handleTorrentPaused(this); } else { m_pauseWhenReady = false; } + + m_session->handleTorrentPaused(this); } }