Store the cpu_name in the project
[bertos.git] / wizard / BCpuPage.py
index 41434967ea07cac17b2ea9b2765f8268cc69de7f..3fc339f25c37b37adda8b500381b5085a07df6c3 100644 (file)
@@ -64,6 +64,7 @@ class BCpuPage(BWizardPage):
                 if type(CPU_DEF[key]) == str or type(CPU_DEF) == unicode:
                     infos[key] = qvariant_converter.getString(value)
             self._projectInfoStore("CPU_INFOS", infos)
+            self._projectInfoStore("CPU_NAME", unicode(self.pageContent.cpuList.currentItem().text()))
             return True
         else:
             return False