Fix the allocate mode not being preserved when selecting different

torrents in addtorrentdialog
This commit is contained in:
Andrew Resch 2009-02-21 10:42:59 +00:00
parent 9ec3c9ec91
commit dadb74477e
1 changed files with 2 additions and 0 deletions

View File

@ -326,6 +326,8 @@ class AddTorrentDialog(component.Component):
self.glade.get_widget("entry_download_path").set_text( self.glade.get_widget("entry_download_path").set_text(
options["download_location"]) options["download_location"])
self.glade.get_widget("radio_full").set_active(
not options["compact_allocation"])
self.glade.get_widget("radio_compact").set_active( self.glade.get_widget("radio_compact").set_active(
options["compact_allocation"]) options["compact_allocation"])
self.glade.get_widget("spin_maxdown").set_value( self.glade.get_widget("spin_maxdown").set_value(