mirror of
https://github.com/codex-storage/deluge.git
synced 2025-03-01 03:20:44 +00:00
Made it possible to open torrent options with 'o' in detail view
This commit is contained in:
parent
24d801d18a
commit
8678121210
@ -49,7 +49,7 @@ from add_util import add_torrent
|
||||
from input_popup import InputPopup
|
||||
import format_utils
|
||||
|
||||
from torrent_actions import torrent_actions_popup
|
||||
from torrent_actions import torrent_actions_popup, ACTION
|
||||
|
||||
try:
|
||||
import curses
|
||||
@ -674,6 +674,9 @@ class TorrentDetail(BaseMode, component.Component):
|
||||
elif chr(c) == 'a':
|
||||
torrent_actions_popup(self,[self.torrentid],details=False)
|
||||
return
|
||||
elif chr(c) == 'o':
|
||||
torrent_actions_popup(self,[self.torrentid],action=ACTION.TORRENT_OPTIONS)
|
||||
return
|
||||
elif chr(c) == 'h':
|
||||
self.popup = Popup(self,"Help",init_lines=self.__help_lines)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user