From c554bf9edda4075b481e1b9c72cc5694f2234c77 Mon Sep 17 00:00:00 2001 From: Asmageddon Date: Fri, 13 Jul 2012 12:40:17 +0200 Subject: [PATCH] Made scrolling not reset the breadcrumbs in AddTorrents as it's meaningless --- deluge/ui/console/modes/addtorrents.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/deluge/ui/console/modes/addtorrents.py b/deluge/ui/console/modes/addtorrents.py index 07aede06a..a18e1e07d 100644 --- a/deluge/ui/console/modes/addtorrents.py +++ b/deluge/ui/console/modes/addtorrents.py @@ -252,8 +252,6 @@ class AddTorrents(BaseMode, component.Component): if self.cursel < self.view_offset + 1: self.view_offset = max(self.cursel - 1, 0) - self.path_stack = self.path_stack[:self.path_stack_pos] - def scroll_list_down(self, distance): self.cursel += distance if self.cursel >= len(self.formatted_rows): @@ -262,8 +260,6 @@ class AddTorrents(BaseMode, component.Component): if (self.view_offset + self._listing_space) <= self.cursel + 1: self.view_offset = self.cursel - self._listing_space + 1 - self.path_stack = self.path_stack[:self.path_stack_pos] - def set_popup(self,pu): self.popup = pu self.refresh()