Move torrent immediately when "save path" is changed

This commit is contained in:
Vladimir Golovnev (Glassez)
2022-01-10 08:18:34 +03:00
parent 52b54fe154
commit fbc85bed64

View File

@@ -411,7 +411,7 @@ void TorrentImpl::setSavePath(const QString &path)
m_session->handleTorrentNeedSaveResumeData(this);
const bool isFinished = isSeed() || m_hasSeedStatus;
if (isFinished)
if (isFinished || downloadPath().isEmpty())
moveStorage(savePath(), MoveStorageMode::KeepExistingFiles);
}