Merge branch '428_fix_order' of https://github.com/mig5/onionshare into mig5-428_fix_order

This commit is contained in:
Micah Lee 2017-07-09 10:10:12 -07:00
commit c91eaa9183
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -136,6 +136,8 @@ class FileList(QtWidgets.QListWidget):
return
self.filenames.append(filename)
# Re-sort the list internally
self.filenames.sort()
fileinfo = QtCore.QFileInfo(filename)
basename = os.path.basename(filename.rstrip('/'))