1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-03-13 05:41:17 +00:00

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