mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-24 02:11:06 +00:00
reset selection to top on alltorrent resume in case another mode has effected torrent list
This commit is contained in:
parent
a063095dad
commit
e950cca059
@ -282,6 +282,7 @@ class AllTorrents(BaseMode, component.Component):
|
|||||||
self.__help_lines = format_utils.wrap_string(HELP_STR,(self.cols/2)-2)
|
self.__help_lines = format_utils.wrap_string(HELP_STR,(self.cols/2)-2)
|
||||||
|
|
||||||
def resume(self):
|
def resume(self):
|
||||||
|
self._go_top = True
|
||||||
component.start(["AllTorrents"])
|
component.start(["AllTorrents"])
|
||||||
self.refresh()
|
self.refresh()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user