From 1f92b928d3390119fc6f94bd52358f812e1a8c5f Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 24 Mar 2009 12:02:15 +0000 Subject: [PATCH] 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 --- wizard/BModulePage.py | 1 + 1 file changed, 1 insertion(+) 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): -- 2.25.1