mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-05 01:15:29 -05:00
Fix get_num_files() to count the items in the QListWidget, not in the FileSelection QVBoxLayout widget
This commit is contained in:
parent
93f6661801
commit
161e7e380b
@ -369,7 +369,7 @@ class FileSelection(QtWidgets.QVBoxLayout):
|
|||||||
"""
|
"""
|
||||||
Returns the total number of files and folders in the list.
|
Returns the total number of files and folders in the list.
|
||||||
"""
|
"""
|
||||||
return len(range(self.count()))
|
return len(range(self.file_list.count()))
|
||||||
|
|
||||||
def setFocus(self):
|
def setFocus(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user