mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-27 05:05:31 +00:00
Fix issue where cannot resume torrent after doing a 'Pause All'
This commit is contained in:
parent
f77d678788
commit
d14062f724
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
||||||
=== Deluge 1.1.7 - (In Development) ===
|
=== Deluge 1.1.7 - (In Development) ===
|
||||||
|
==== Core ====
|
||||||
|
* Fix issue where cannot resume torrent after doing a 'Pause All'
|
||||||
|
|
||||||
==== GtkUI ====
|
==== GtkUI ====
|
||||||
* Fix #883 segfault if locale is not using UTF-8 encoding
|
* Fix #883 segfault if locale is not using UTF-8 encoding
|
||||||
* Fix for adding torrents with invalid filename encodings
|
* Fix for adding torrents with invalid filename encodings
|
||||||
|
|
|
@ -519,11 +519,13 @@ class Core(
|
||||||
|
|
||||||
def export_pause_all_torrents(self):
|
def export_pause_all_torrents(self):
|
||||||
"""Pause all torrents in the session"""
|
"""Pause all torrents in the session"""
|
||||||
self.session.pause()
|
for torrent in self.torrentmanager.torrents.values():
|
||||||
|
torrent.pause()
|
||||||
|
|
||||||
def export_resume_all_torrents(self):
|
def export_resume_all_torrents(self):
|
||||||
"""Resume all torrents in the session"""
|
"""Resume all torrents in the session"""
|
||||||
self.session.resume()
|
for torrent in self.torrentmanager.torrents.values():
|
||||||
|
torrent.resume()
|
||||||
self.signals.emit("torrent_all_resumed")
|
self.signals.emit("torrent_all_resumed")
|
||||||
|
|
||||||
def export_resume_torrent(self, torrent_ids):
|
def export_resume_torrent(self, torrent_ids):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue