Sort themes when read

bzr-revno: 1115
This commit is contained in:
Tim Bentley 2010-11-13 11:44:55 +00:00
commit e9e895f969
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