Allow to pause a checking torrent from context menu

PR #17611.
This commit is contained in:
summer
2022-09-04 10:03:10 +06:00
committed by GitHub
parent 48d52d9ab7
commit 459d1cf82c

View File

@@ -1068,6 +1068,12 @@ void TransferListWidget::displayListMenu()
first = false;
const bool rechecking = torrent->isChecking();
if (rechecking)
{
needsStart = true;
needsPause = true;
}
const bool queued = (BitTorrent::Session::instance()->isQueueingSystemEnabled() && torrent->isQueued());
if (!isPaused && !rechecking && !queued)