mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
don't double add current torrent on action popup
This commit is contained in:
parent
e83d540fe4
commit
2b04955128
1 changed files with 2 additions and 1 deletions
|
@ -701,6 +701,7 @@ class AllTorrents(BaseMode):
|
||||||
|
|
||||||
# Enter Key
|
# Enter Key
|
||||||
elif (c == curses.KEY_ENTER or c == 10) and self.numtorrents:
|
elif (c == curses.KEY_ENTER or c == 10) and self.numtorrents:
|
||||||
|
if self.cursel not in self.marked:
|
||||||
self.marked.append(self.cursel)
|
self.marked.append(self.cursel)
|
||||||
self.last_mark = self.cursel
|
self.last_mark = self.cursel
|
||||||
torrent_actions_popup(self,self._selected_torrent_ids(),details=True)
|
torrent_actions_popup(self,self._selected_torrent_ids(),details=True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue