diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 3e56d4dcf..a78326c9b 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -82,7 +82,12 @@ class Torrent: # We need to keep track if the torrent is finished in the state to prevent # some weird things on state load. self.is_finished = False - + + # Queueing options + self.stop_at_ratio = False + self.stop_ratio = 2.00 + self.remove_at_ratio = False + # Load values from state if we have it if state is not None: # This is for saving the total uploaded between sessions diff --git a/deluge/ui/gtkui/queuedtorrents.py b/deluge/ui/gtkui/queuedtorrents.py index 70d669838..af4fd75b9 100644 --- a/deluge/ui/gtkui/queuedtorrents.py +++ b/deluge/ui/gtkui/queuedtorrents.py @@ -81,7 +81,7 @@ class QueuedTorrents(component.Component): if len(self.queue) == 0: return - if self.config["autoadd_queued"]: + if self.config["autoadd_queued"] or self.config["classic_mode"]: self.on_button_add_clicked(None) return # Make sure status bar info is showing