mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
don't double add current torrent on action popup
This commit is contained in:
parent
e83d540fe4
commit
2b04955128
@ -701,7 +701,8 @@ class AllTorrents(BaseMode):
|
||||
|
||||
# Enter Key
|
||||
elif (c == curses.KEY_ENTER or c == 10) and self.numtorrents:
|
||||
self.marked.append(self.cursel)
|
||||
if self.cursel not in self.marked:
|
||||
self.marked.append(self.cursel)
|
||||
self.last_mark = self.cursel
|
||||
torrent_actions_popup(self,self._selected_torrent_ids(),details=True)
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user