mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-17 13:50:28 -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.
|
Add a file or directory to this widget.
|
||||||
"""
|
"""
|
||||||
|
filenames = []
|
||||||
for index in range(self.count()):
|
for index in range(self.count()):
|
||||||
filenames.append(self.item(index).filename)
|
filenames.append(self.item(index).filename)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue