From 3f8e76ce938e38bf2b8518e91700688df8f50cf6 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Mon, 15 Jun 2015 00:48:28 +0300 Subject: [PATCH] Clear missing files flag when resuming or force rechecking. Fixes issues in #2750. --- src/core/bittorrent/torrenthandle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/bittorrent/torrenthandle.cpp b/src/core/bittorrent/torrenthandle.cpp index a1168f95f..4911e7f95 100644 --- a/src/core/bittorrent/torrenthandle.cpp +++ b/src/core/bittorrent/torrenthandle.cpp @@ -1206,6 +1206,7 @@ void TorrentHandle::resume(bool forced) try { if (hasError()) m_nativeHandle.clear_error(); + m_hasMissingFiles = false; m_nativeHandle.set_upload_mode(false); m_nativeHandle.auto_managed(!forced); m_nativeHandle.resume();