Sort the modules and the categories in alphabetic order
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 24 Mar 2009 12:02:15 +0000 (12:02 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 24 Mar 2009 12:02:15 +0000 (12:02 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2410 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BModulePage.py

index 97ae77030b7374bfc7987fce705bd15a3766130c..06de96380e37e41d477d6728db447a64bf80af36 100644 (file)
@@ -61,6 +61,7 @@ class BModulePage(BWizardPage):
                 moduleItem = QTreeWidgetItem(item, QStringList([module]))
                 moduleItem.setCheckState(0, Qt.Unchecked)
             self.pageContent.moduleTree.addTopLevelItem(item)
+        self.pageContent.moduleTree.sortItems(0, Qt.AscendingOrder)
         
     
     def _fillPropertyTable(self):