diff --git a/deluge/ui/console/modes/alltorrents.py b/deluge/ui/console/modes/alltorrents.py index 934296f26..fbf36fd67 100644 --- a/deluge/ui/console/modes/alltorrents.py +++ b/deluge/ui/console/modes/alltorrents.py @@ -619,7 +619,7 @@ class AllTorrents(BaseMode): return # 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.last_mark = self.cursel self._show_torrent_actions_popup()