Immediately update torrent_status after manipulating super seeding mode. Partially fixes #6072.

This commit is contained in:
sledgehammer999
2017-02-05 21:53:28 +02:00
parent 52b1bb2ae4
commit 5046c36458

View File

@@ -1819,6 +1819,8 @@ void TorrentHandle::setDownloadLimit(int limit)
void TorrentHandle::setSuperSeeding(bool enable)
{
SAFE_CALL(super_seeding, enable)
if (superSeeding() != enable)
updateStatus();
}
void TorrentHandle::flushCache()