mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
Correctly handle changing save path of torrent w/o metadata
PR #19829. Closes #19824.
This commit is contained in:
committed by
GitHub
parent
eddfaedc4d
commit
4a20a1660e
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user