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
commit 5046c36458
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

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()