Add smarter selection selection for torrent detail view - highlight directories with selected files inside as partially or fully selected, select not only directories but also files inside.
This commit is contained in:
parent
8a261b26e8
commit
14bfa24195
|
@ -347,10 +347,9 @@ class TorrentDetail(BaseMode, component.Component):
|
||||||
|
|
||||||
return (off,idx)
|
return (off,idx)
|
||||||
|
|
||||||
|
def __get_file_list_length(self, file_list=None):
|
||||||
def _get_file_list_length(self, file_list=None):
|
|
||||||
"""
|
"""
|
||||||
Returns amount of elements in file list, including files in (expanded) folders.
|
Counts length of the displayed file list.
|
||||||
"""
|
"""
|
||||||
if file_list == None:
|
if file_list == None:
|
||||||
file_list = self.file_list
|
file_list = self.file_list
|
||||||
|
|
Loading…
Reference in New Issue