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
|
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…
x
Reference in New Issue
Block a user