Module: deluge
Branch: master
Commit: e950cca05924b5f14a4c64e967fb4d4b22f78813

Author: Nick Lanham <[email protected]>
Date:   Thu Apr 28 11:50:13 2011 +0200

reset selection to top on alltorrent resume in case another mode has effected 
torrent list

---

 deluge/ui/console/modes/alltorrents.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/console/modes/alltorrents.py 
b/deluge/ui/console/modes/alltorrents.py
index b91b11a..4193abc 100644
--- a/deluge/ui/console/modes/alltorrents.py
+++ b/deluge/ui/console/modes/alltorrents.py
@@ -282,6 +282,7 @@ class AllTorrents(BaseMode, component.Component):
         self.__help_lines = format_utils.wrap_string(HELP_STR,(self.cols/2)-2)
 
     def resume(self):
+        self._go_top = True
         component.start(["AllTorrents"])
         self.refresh()
         

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to