Browse Source

Allow to pause a checking torrent from context menu

PR #17611.
adaptive-webui-19844
summer 2 years ago committed by GitHub
parent
commit
459d1cf82c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/gui/transferlistwidget.cpp

6
src/gui/transferlistwidget.cpp

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

Loading…
Cancel
Save