mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Add scrolling using Page Up/Down and Home/End in torrent detail view
This commit is contained in:
parent
1a1518ac1d
commit
6edd159626
1 changed files with 3 additions and 2 deletions
|
@ -347,9 +347,10 @@ class TorrentDetail(BaseMode, component.Component):
|
|||
|
||||
return (off,idx)
|
||||
|
||||
def __get_file_list_length(self, file_list=None):
|
||||
|
||||
def _get_file_list_length(self, file_list=None):
|
||||
"""
|
||||
Counts length of the displayed file list.
|
||||
Returns amount of elements in file list, including files in (expanded) folders.
|
||||
"""
|
||||
if file_list == None:
|
||||
file_list = self.file_list
|
||||
|
|
Loading…
Add table
Reference in a new issue