From 3602fb76c56a4a19bdc8e4a45ba42d922f7f3eab Mon Sep 17 00:00:00 2001 From: Asmageddon Date: Fri, 13 Jul 2012 12:14:05 +0200 Subject: [PATCH] Fixed a little problem with multiselection in AddTorrents --- deluge/ui/console/modes/addtorrents.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/console/modes/addtorrents.py b/deluge/ui/console/modes/addtorrents.py index fcff8e247..07aede06a 100644 --- a/deluge/ui/console/modes/addtorrents.py +++ b/deluge/ui/console/modes/addtorrents.py @@ -397,6 +397,8 @@ class AddTorrents(BaseMode, component.Component): self._enter_dir() else: s = self.raw_rows[self.cursel][0] + if s not in self.marked: + self.last_mark = self.cursel self.marked.add(s) self._show_add_dialog()