The cpu list selection page show the cpu definition file names
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 18 Dec 2008 14:20:47 +0000 (14:20 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 18 Dec 2008 14:20:47 +0000 (14:20 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2083 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BCpuPage.py

index 97479027a1bbb6af62ce720f865c9d3c580fcbfb..03ef2cc05242e4ad9437c587a0af7235fd6c1a7b 100644 (file)
@@ -18,10 +18,12 @@ class BCpuPage(BWizardPage):
     def __init__(self):
         BWizardPage.__init__(self, "cpu_select.ui")
         self.setTitle(self.tr("Select the CPU"))
-        #self._populateCpuList()
     
     def _populateCpuList(self):
         cpus = bertos_utils.findDefinitions("cdef", self._projectInfoRetrieve("SOURCES_PATH"))
         for cpu in cpus.keys():
             self.pageContent.cpuList.addItem(QListWidgetItem(cpu))
+    
+    def reloadData(self):
+        self._populateCpuList()
         
\ No newline at end of file