mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix pause all/resume all
This commit is contained in:
parent
028b6fce12
commit
2048c7b33f
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
=== Deluge 1.1.8 - (In Development) ===
|
||||
* Fix pause all/resume all
|
||||
|
||||
=== Deluge 1.1.7 - (25 April 2009) ===
|
||||
==== Core ====
|
||||
* Fix issue where cannot resume torrent after doing a 'Pause All'
|
||||
|
|
|
@ -519,12 +519,12 @@ class Core(
|
|||
|
||||
def export_pause_all_torrents(self):
|
||||
"""Pause all torrents in the session"""
|
||||
for torrent in self.torrentmanager.torrents.values():
|
||||
for torrent in self.torrents.torrents.values():
|
||||
torrent.pause()
|
||||
|
||||
def export_resume_all_torrents(self):
|
||||
"""Resume all torrents in the session"""
|
||||
for torrent in self.torrentmanager.torrents.values():
|
||||
for torrent in self.torrents.torrents.values():
|
||||
torrent.resume()
|
||||
self.signals.emit("torrent_all_resumed")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue