Add the sorting for the cpu list
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 19 Jan 2009 18:22:56 +0000 (18:22 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 19 Jan 2009 18:22:56 +0000 (18:22 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2181 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BCpuPage.py

index e42bd2db72391d06eff9288aefadd279b401e157..2d616d53fa900d767255c1ea71b4de36338de4a3 100644 (file)
@@ -40,6 +40,7 @@ class BCpuPage(BWizardPage):
             self.pageContent.cpuList.setCurrentItem(elements[0])
     
     def _setupUi(self):
+        self.pageContent.cpuList.setSortingEnabled(True)
         self.pageContent.descriptionLabel.setVisible(False)
         self.pageContent.descriptionLabel.setText("")