Browse Source

Move torrent immediately when "save path" is changed

adaptive-webui-19844
Vladimir Golovnev (Glassez) 3 years ago
parent
commit
fbc85bed64
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 2
      src/base/bittorrent/torrentimpl.cpp

2
src/base/bittorrent/torrentimpl.cpp

@ -411,7 +411,7 @@ void TorrentImpl::setSavePath(const QString &path) @@ -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);
}

Loading…
Cancel
Save