[GTKUI] Fix broken sequential_download in options tab

This commit is contained in:
Calum Lind 2015-11-22 13:54:47 +00:00
parent c796acf791
commit 6cf0ef080b
1 changed files with 2 additions and 2 deletions

View File

@ -191,8 +191,8 @@ class OptionsTab(Tab):
if self.chk_sequential_download.get_active() != \ if self.chk_sequential_download.get_active() != \
self.prev_status["sequential_download"] and \ self.prev_status["sequential_download"] and \
not self.prev_status["storage_mode"] == "compact": not self.prev_status["storage_mode"] == "compact":
client.core.set_torrent_sequential_download( client.core.set_torrent_options(
self.prev_torrent_id, self.chk_prioritize_first_last.get_active() [self.prev_torrent_id], {"sequential_download": self.chk_sequential_download.get_active()}
) )
if self.chk_auto_managed.get_active() != self.prev_status["is_auto_managed"]: if self.chk_auto_managed.get_active() != self.prev_status["is_auto_managed"]:
client.core.set_torrent_auto_managed( client.core.set_torrent_auto_managed(