From 6cf0ef080bd7a68e5424c115324b0e7bc3339525 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sun, 22 Nov 2015 13:54:47 +0000 Subject: [PATCH] [GTKUI] Fix broken sequential_download in options tab --- deluge/ui/gtkui/options_tab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/gtkui/options_tab.py b/deluge/ui/gtkui/options_tab.py index 806d5f0b2..df1fcdfe1 100644 --- a/deluge/ui/gtkui/options_tab.py +++ b/deluge/ui/gtkui/options_tab.py @@ -191,8 +191,8 @@ class OptionsTab(Tab): if self.chk_sequential_download.get_active() != \ self.prev_status["sequential_download"] and \ not self.prev_status["storage_mode"] == "compact": - client.core.set_torrent_sequential_download( - self.prev_torrent_id, self.chk_prioritize_first_last.get_active() + client.core.set_torrent_options( + [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"]: client.core.set_torrent_auto_managed(