From ed0f05abc4c59f01183cb05ed8cacfb0001ced1f Mon Sep 17 00:00:00 2001 From: Karan Thakkar Date: Mon, 24 Oct 2016 23:49:57 +0530 Subject: [PATCH] Pause All will now pause seeding torrents too --- src/renderer/controllers/torrent-list-controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/controllers/torrent-list-controller.js b/src/renderer/controllers/torrent-list-controller.js index f6fe6a34..aabf1522 100644 --- a/src/renderer/controllers/torrent-list-controller.js +++ b/src/renderer/controllers/torrent-list-controller.js @@ -130,7 +130,8 @@ module.exports = class TorrentListController { pauseAllTorrents () { this.state.saved.torrents.forEach((torrentSummary) => { - if (torrentSummary.status === 'downloading') { + if (torrentSummary.status === 'downloading' || + torrentSummary.status === 'seeding') { torrentSummary.status = 'paused' ipcRenderer.send('wt-stop-torrenting', torrentSummary.infoHash) }