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

This commit is contained in:
Nick Lanham 2011-04-28 11:50:13 +02:00
parent a063095dad
commit e950cca059

View File

@ -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()