sort by name while importing all images

This commit is contained in:
tzutalin 2016-01-05 13:51:12 +08:00
parent 4da87bd622
commit dd56234989

View File

@ -791,6 +791,7 @@ class MainWindow(QMainWindow, WindowMixin):
if file.lower().endswith(tuple(extensions)):
relatviePath = os.path.join(root, file)
images.append(os.path.abspath(relatviePath))
images.sort(key=lambda x: x.lower())
return images
def changeSavedir(self, _value=False):