From: duplo Date: Tue, 24 Mar 2009 12:02:15 +0000 (+0000) Subject: Sort the modules and the categories in alphabetic order X-Git-Tag: 2.1.0~272 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1f92b928d3390119fc6f94bd52358f812e1a8c5f;p=bertos.git Sort the modules and the categories in alphabetic order git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2410 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index 97ae7703..06de9638 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -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):