mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
Made it possible to open torrent options with 'o' in detail view
This commit is contained in:
parent
24d801d18a
commit
8678121210
1 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,7 @@ from add_util import add_torrent
|
||||||
from input_popup import InputPopup
|
from input_popup import InputPopup
|
||||||
import format_utils
|
import format_utils
|
||||||
|
|
||||||
from torrent_actions import torrent_actions_popup
|
from torrent_actions import torrent_actions_popup, ACTION
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import curses
|
import curses
|
||||||
|
@ -674,6 +674,9 @@ class TorrentDetail(BaseMode, component.Component):
|
||||||
elif chr(c) == 'a':
|
elif chr(c) == 'a':
|
||||||
torrent_actions_popup(self,[self.torrentid],details=False)
|
torrent_actions_popup(self,[self.torrentid],details=False)
|
||||||
return
|
return
|
||||||
|
elif chr(c) == 'o':
|
||||||
|
torrent_actions_popup(self,[self.torrentid],action=ACTION.TORRENT_OPTIONS)
|
||||||
|
return
|
||||||
elif chr(c) == 'h':
|
elif chr(c) == 'h':
|
||||||
self.popup = Popup(self,"Help",init_lines=self.__help_lines)
|
self.popup = Popup(self,"Help",init_lines=self.__help_lines)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue