forked from openlp/openlp
Sort theme
This commit is contained in:
parent
6cf851022e
commit
6f51b68824
@ -462,6 +462,7 @@ class ThemeManager(QtGui.QWidget):
|
|||||||
self.themelist = []
|
self.themelist = []
|
||||||
self.themeListWidget.clear()
|
self.themeListWidget.clear()
|
||||||
dirList = os.listdir(self.path)
|
dirList = os.listdir(self.path)
|
||||||
|
dirList.sort()
|
||||||
for name in dirList:
|
for name in dirList:
|
||||||
if name.endswith(u'.png'):
|
if name.endswith(u'.png'):
|
||||||
# check to see file is in theme root directory
|
# check to see file is in theme root directory
|
||||||
|
Loading…
Reference in New Issue
Block a user