mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix #263
This commit is contained in:
parent
d8b7393c94
commit
45dd1e37c3
1 changed files with 1 additions and 6 deletions
|
@ -123,8 +123,7 @@ class AddTorrentDialog(component.Component):
|
||||||
"max_download_speed_per_torrent",
|
"max_download_speed_per_torrent",
|
||||||
"prioritize_first_last_pieces",
|
"prioritize_first_last_pieces",
|
||||||
"download_location",
|
"download_location",
|
||||||
"add_paused",
|
"add_paused"
|
||||||
"default_private"
|
|
||||||
]
|
]
|
||||||
self.core_config = {}
|
self.core_config = {}
|
||||||
|
|
||||||
|
@ -299,8 +298,6 @@ class AddTorrentDialog(component.Component):
|
||||||
options["add_paused"])
|
options["add_paused"])
|
||||||
self.glade.get_widget("chk_prioritize").set_active(
|
self.glade.get_widget("chk_prioritize").set_active(
|
||||||
options["prioritize_first_last_pieces"])
|
options["prioritize_first_last_pieces"])
|
||||||
self.glade.get_widget("chk_private").set_active(
|
|
||||||
options["default_private"])
|
|
||||||
|
|
||||||
def save_torrent_options(self, row=None):
|
def save_torrent_options(self, row=None):
|
||||||
# Keeps the torrent options dictionary up-to-date with what the user has
|
# Keeps the torrent options dictionary up-to-date with what the user has
|
||||||
|
@ -377,8 +374,6 @@ class AddTorrentDialog(component.Component):
|
||||||
self.core_config["add_paused"])
|
self.core_config["add_paused"])
|
||||||
self.glade.get_widget("chk_prioritize").set_active(
|
self.glade.get_widget("chk_prioritize").set_active(
|
||||||
self.core_config["prioritize_first_last_pieces"])
|
self.core_config["prioritize_first_last_pieces"])
|
||||||
self.glade.get_widget("chk_private").set_active(
|
|
||||||
self.core_config["default_private"])
|
|
||||||
|
|
||||||
def get_file_priorities(self, torrent_id):
|
def get_file_priorities(self, torrent_id):
|
||||||
# A list of priorities
|
# A list of priorities
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue