X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBCpuPage.py;h=ce854bb24abae60789953d331a976815b5d48d10;hb=6fa2660c8ba089bbf8a1d711f46f882604ff9a6c;hp=d5ef0b50ac3fdcd22d84ee836d37576660be86ce;hpb=c8e5c47d63a9712bd796513105a162496988a512;p=bertos.git diff --git a/wizard/BCpuPage.py b/wizard/BCpuPage.py index d5ef0b50..ce854bb2 100644 --- a/wizard/BCpuPage.py +++ b/wizard/BCpuPage.py @@ -66,8 +66,8 @@ class BCpuPage(BWizardPage): infos[key] = qvariant_converter.getStringList(value) if type(CPU_DEF[key]) == str or type(CPU_DEF) == unicode: infos[key] = qvariant_converter.getString(value) - elif key.startswith("MK_"): - pass + elif key.startswith(MK_PARAM_ID): + infos[key] = qvariant_converter.getString(value) else: del infos[key] self.setProjectInfo("CPU_INFOS", infos) @@ -93,8 +93,6 @@ class BCpuPage(BWizardPage): Overload of the BWizardPage setupUi method. """ self.pageContent.cpuList.setSortingEnabled(True) - self.pageContent.descriptionLabel.setVisible(False) - self.pageContent.descriptionLabel.setText("") self.pageContent.frequencyLabel.setVisible(False) self.pageContent.frequencySpinBox.setVisible(False)