From: duplo Date: Thu, 18 Dec 2008 14:20:47 +0000 (+0000) Subject: The cpu list selection page show the cpu definition file names X-Git-Tag: 2.1.0~599 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d07bfc9a7ed35125525f82b331d8dab25f06fca8;p=bertos.git The cpu list selection page show the cpu definition file names git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2083 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BCpuPage.py b/wizard/BCpuPage.py index 97479027..03ef2cc0 100644 --- a/wizard/BCpuPage.py +++ b/wizard/BCpuPage.py @@ -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