mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 10:16:00 +03:00
Move torrent immediately when "save path" is changed
This commit is contained in:
parent
52b54fe154
commit
fbc85bed64
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ void TorrentImpl::setSavePath(const QString &path)
|
||||||
m_session->handleTorrentNeedSaveResumeData(this);
|
m_session->handleTorrentNeedSaveResumeData(this);
|
||||||
|
|
||||||
const bool isFinished = isSeed() || m_hasSeedStatus;
|
const bool isFinished = isSeed() || m_hasSeedStatus;
|
||||||
if (isFinished)
|
if (isFinished || downloadPath().isEmpty())
|
||||||
moveStorage(savePath(), MoveStorageMode::KeepExistingFiles);
|
moveStorage(savePath(), MoveStorageMode::KeepExistingFiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue