Browse Source

Correctly handle changing save path of torrent w/o metadata

PR #19829.
Closes #19824.
adaptive-webui-19844
Vladimir Golovnev 1 year ago committed by GitHub
parent
commit
4a20a1660e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/base/bittorrent/torrentimpl.cpp

1
src/base/bittorrent/torrentimpl.cpp

@ -1866,6 +1866,7 @@ void TorrentImpl::moveStorage(const Path &newPath, const MoveStorageContext cont
{ {
if (!hasMetadata()) if (!hasMetadata())
{ {
m_savePath = newPath;
m_session->handleTorrentSavePathChanged(this); m_session->handleTorrentSavePathChanged(this);
return; return;
} }

Loading…
Cancel
Save