Sort theme

This commit is contained in:
Tim Bentley 2010-11-13 07:30:34 +00:00
parent 6cf851022e
commit 6f51b68824
1 changed files with 1 additions and 0 deletions

View File

@ -462,6 +462,7 @@ class ThemeManager(QtGui.QWidget):
self.themelist = []
self.themeListWidget.clear()
dirList = os.listdir(self.path)
dirList.sort()
for name in dirList:
if name.endswith(u'.png'):
# check to see file is in theme root directory