mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Immediately update torrent_status after manipulating super seeding mode. Partially fixes #6072.
This commit is contained in:
@@ -1819,6 +1819,8 @@ void TorrentHandle::setDownloadLimit(int limit)
|
|||||||
void TorrentHandle::setSuperSeeding(bool enable)
|
void TorrentHandle::setSuperSeeding(bool enable)
|
||||||
{
|
{
|
||||||
SAFE_CALL(super_seeding, enable)
|
SAFE_CALL(super_seeding, enable)
|
||||||
|
if (superSeeding() != enable)
|
||||||
|
updateStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TorrentHandle::flushCache()
|
void TorrentHandle::flushCache()
|
||||||
|
|||||||
Reference in New Issue
Block a user