mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
Move torrent immediately when "save path" is changed
This commit is contained in:
parent
88114b4588
commit
86e8d848f6
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,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…
Add table
Add a link
Reference in a new issue