mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 07:28:39 +00:00
don't show action popup if there are no torrents in the view
This commit is contained in:
parent
1952357f35
commit
b41ebe1b89
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ class AllTorrents(BaseMode):
|
||||||
return
|
return
|
||||||
|
|
||||||
# Enter Key
|
# Enter Key
|
||||||
elif c == curses.KEY_ENTER or c == 10:
|
elif (c == curses.KEY_ENTER or c == 10) and self.numtorrents:
|
||||||
self.marked.append(self.cursel)
|
self.marked.append(self.cursel)
|
||||||
self.last_mark = self.cursel
|
self.last_mark = self.cursel
|
||||||
self._show_torrent_actions_popup()
|
self._show_torrent_actions_popup()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue