mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-17 05:42:15 -04:00
Instantiate empty filenames list
This commit is contained in:
parent
26e1cc47ff
commit
f5eeff8e76
1 changed files with 1 additions and 0 deletions
|
@ -191,6 +191,7 @@ class FileList(QtWidgets.QListWidget):
|
|||
"""
|
||||
Add a file or directory to this widget.
|
||||
"""
|
||||
filenames = []
|
||||
for index in range(self.count()):
|
||||
filenames.append(self.item(index).filename)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue