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
commit 459d1cf82c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)