Sort the modules and the categories in alphabetic order
[bertos.git] / 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):