projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show wizard version.
[bertos.git]
/
wizard
/
BCpuPage.py
diff --git
a/wizard/BCpuPage.py
b/wizard/BCpuPage.py
index c105543c2680f3e304292f8fd819b2b3b1d3921d..f38ab35c5069b5ec5b037d219cb991850f6683d6 100644
(file)
--- a/
wizard/BCpuPage.py
+++ b/
wizard/BCpuPage.py
@@
-86,9
+86,9
@@
class BCpuPage(BWizardPage):
cpu_name = self.projectInfo("CPU_NAME")
selected_freq = self.projectInfo("SELECTED_FREQ")
self.setupUi()
cpu_name = self.projectInfo("CPU_NAME")
selected_freq = self.projectInfo("SELECTED_FREQ")
self.setupUi()
- if
not cpu_name is Non
e:
+ if
cpu_nam
e:
self.selectItem(cpu_name)
self.selectItem(cpu_name)
- if
not selected_freq is None
:
+ if
selected_freq
:
self.setFrequency(selected_freq)
self.freq_modified = True
QApplication.instance().restoreOverrideCursor()
self.setFrequency(selected_freq)
self.freq_modified = True
QApplication.instance().restoreOverrideCursor()