From e950cca05924b5f14a4c64e967fb4d4b22f78813 Mon Sep 17 00:00:00 2001 From: Nick Lanham Date: Thu, 28 Apr 2011 11:50:13 +0200 Subject: [PATCH] reset selection to top on alltorrent resume in case another mode has effected torrent list --- deluge/ui/console/modes/alltorrents.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/console/modes/alltorrents.py b/deluge/ui/console/modes/alltorrents.py index b91b11ae2..4193abc68 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()