mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
Made delete key open up the delete torrent dialog in view torrent detail mode
This commit is contained in:
parent
5927f2fa30
commit
75c4135d6e
1 changed files with 2 additions and 0 deletions
|
@ -886,6 +886,8 @@ class TorrentDetail(BaseMode, component.Component):
|
||||||
elif c == curses.KEY_END:
|
elif c == curses.KEY_END:
|
||||||
self.current_file_idx = self.__get_file_list_length() - 1
|
self.current_file_idx = self.__get_file_list_length() - 1
|
||||||
self.file_off = self.current_file_idx - (self._listing_space - 3)
|
self.file_off = self.current_file_idx - (self._listing_space - 3)
|
||||||
|
elif c == curses.KEY_DC:
|
||||||
|
torrent_actions_popup(self, [self.torrentid], action=ACTION.REMOVE)
|
||||||
# Enter Key
|
# Enter Key
|
||||||
elif c == curses.KEY_ENTER or c == 10:
|
elif c == curses.KEY_ENTER or c == 10:
|
||||||
was_empty = (self.marked == {})
|
was_empty = (self.marked == {})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue