From dadb74477e19ba58072c2ede95d731fa8b730cef Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 21 Feb 2009 10:42:59 +0000 Subject: [PATCH] Fix the allocate mode not being preserved when selecting different torrents in addtorrentdialog --- deluge/ui/gtkui/addtorrentdialog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index 1aa4b22b7..334db5b1f 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -326,6 +326,8 @@ class AddTorrentDialog(component.Component): self.glade.get_widget("entry_download_path").set_text( options["download_location"]) + self.glade.get_widget("radio_full").set_active( + not options["compact_allocation"]) self.glade.get_widget("radio_compact").set_active( options["compact_allocation"]) self.glade.get_widget("spin_maxdown").set_value(