X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBCpuPage.py;h=49daf8c98df294e023bdd44897b446d602cf692e;hb=ec871ac76d4a666bcf35ff91733dc496a808bc83;hp=842200b50077b5d7bf96d8f2462ab3a7abd0a94c;hpb=3cd73c355f9d5bd07eaee38425661f5f4310f020;p=bertos.git diff --git a/wizard/BCpuPage.py b/wizard/BCpuPage.py index 842200b5..49daf8c9 100644 --- a/wizard/BCpuPage.py +++ b/wizard/BCpuPage.py @@ -95,6 +95,9 @@ class BCpuPage(BWizardPage): self.pageContent.cpuList.setSortingEnabled(True) self.pageContent.frequencyLabel.setVisible(False) self.pageContent.frequencySpinBox.setVisible(False) + preset_advanced = self.projectInfo("PRESET_ADVANCED_CONFIG") + if preset_advanced: + self.pageContent.cpuList.setEnabled(False) def connectSignals(self): """