Update torrent status on move enqueued

This commit is contained in:
Vladimir Golovnev (Glassez) 2020-07-22 15:22:29 +03:00
parent dc7267b600
commit c3104e0210
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7

View file

@ -1359,8 +1359,10 @@ void TorrentHandleImpl::resume_impl(bool forced)
void TorrentHandleImpl::moveStorage(const QString &newPath, const MoveStorageMode mode) void TorrentHandleImpl::moveStorage(const QString &newPath, const MoveStorageMode mode)
{ {
if (m_session->addMoveTorrentStorageJob(this, newPath, mode)) if (m_session->addMoveTorrentStorageJob(this, newPath, mode)) {
m_storageIsMoving = true; m_storageIsMoving = true;
updateStatus();
}
} }
void TorrentHandleImpl::renameFile(const int index, const QString &name) void TorrentHandleImpl::renameFile(const int index, const QString &name)