mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 11:45:44 +00:00
Make sure sensitivity of move completed path is always set correctly in add torrent dialog.
This commit is contained in:
parent
db5a4f84f6
commit
15492028fc
@ -409,6 +409,9 @@ class AddTorrentDialog(component.Component):
|
||||
options["prioritize_first_last_pieces"])
|
||||
self.builder.get_object("chk_sequential_download").set_active(
|
||||
options["sequential_download"])
|
||||
self.builder.get_object("chk_move_completed").set_active(
|
||||
options["move_completed"])
|
||||
self._on_chk_move_completed_toggled(self.builder.get_object("chk_move_completed"))
|
||||
|
||||
def save_torrent_options(self, row=None):
|
||||
# Keeps the torrent options dictionary up-to-date with what the user has
|
||||
@ -519,6 +522,7 @@ class AddTorrentDialog(component.Component):
|
||||
self.core_config["sequential_download"])
|
||||
self.builder.get_object("chk_move_completed").set_active(
|
||||
self.core_config["move_completed"])
|
||||
self._on_chk_move_completed_toggled(self.builder.get_object("chk_move_completed"))
|
||||
|
||||
def get_file_priorities(self, torrent_id):
|
||||
# A list of priorities
|
||||
|
Loading…
x
Reference in New Issue
Block a user