From 6f51b68824162a5a43d880d145cee5d48ef351aa Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sat, 13 Nov 2010 07:30:34 +0000 Subject: [PATCH] Sort theme --- openlp/core/ui/thememanager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openlp/core/ui/thememanager.py b/openlp/core/ui/thememanager.py index 2f060b12f..1b349a1e4 100644 --- a/openlp/core/ui/thememanager.py +++ b/openlp/core/ui/thememanager.py @@ -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