Clear missing files flag when resuming or force rechecking. Fixes issues in #2750.

This commit is contained in:
sledgehammer999 2015-06-15 00:48:28 +03:00
parent a2c48646ae
commit 3f8e76ce93

View File

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