Fix showing of Queued Torrents dialog when in classic mode
This commit is contained in:
parent
d9676aabca
commit
982fd4f292
|
@ -83,6 +83,11 @@ class Torrent:
|
|||
# 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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue