mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-18 18:57:36 -05:00
Merge branch 'mig5-428_fix_order'
This commit is contained in:
commit
62b0409e86
@ -136,6 +136,8 @@ class FileList(QtWidgets.QListWidget):
|
|||||||
return
|
return
|
||||||
|
|
||||||
self.filenames.append(filename)
|
self.filenames.append(filename)
|
||||||
|
# Re-sort the list internally
|
||||||
|
self.filenames.sort()
|
||||||
|
|
||||||
fileinfo = QtCore.QFileInfo(filename)
|
fileinfo = QtCore.QFileInfo(filename)
|
||||||
basename = os.path.basename(filename.rstrip('/'))
|
basename = os.path.basename(filename.rstrip('/'))
|
||||||
|
Loading…
Reference in New Issue
Block a user