Fix showing of Queued Torrents dialog when in classic mode

This commit is contained in:
Andrew Resch 2008-06-23 06:35:23 +00:00
parent d9676aabca
commit 982fd4f292
2 changed files with 7 additions and 2 deletions

View File

@ -83,6 +83,11 @@ class Torrent:
# some weird things on state load. # some weird things on state load.
self.is_finished = False 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 # Load values from state if we have it
if state is not None: if state is not None:
# This is for saving the total uploaded between sessions # This is for saving the total uploaded between sessions

View File

@ -81,7 +81,7 @@ class QueuedTorrents(component.Component):
if len(self.queue) == 0: if len(self.queue) == 0:
return return
if self.config["autoadd_queued"]: if self.config["autoadd_queued"] or self.config["classic_mode"]:
self.on_button_add_clicked(None) self.on_button_add_clicked(None)
return return
# Make sure status bar info is showing # Make sure status bar info is showing