mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
feat: check if files are missing after setting location (#5978)
This commit is contained in:
parent
1722f00777
commit
ee4daa059d
1 changed files with 4 additions and 0 deletions
|
@ -2409,6 +2409,10 @@ void tr_torrent::set_download_dir(std::string_view path, bool is_new_torrent)
|
|||
recheck_completeness();
|
||||
}
|
||||
}
|
||||
else if (error == TR_STAT_LOCAL_ERROR && !setLocalErrorIfFilesDisappeared(this))
|
||||
{
|
||||
tr_torrentClearError(this);
|
||||
}
|
||||
}
|
||||
|
||||
// decide whether we should be looking for files in downloadDir or incompleteDir
|
||||
|
|
Loading…
Reference in a new issue