projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove "empty main" checkbox.
[bertos.git]
/
wizard
/
BModulePage.py
diff --git
a/wizard/BModulePage.py
b/wizard/BModulePage.py
index c6a8da67c281eb9bbaf9baddf987a112058ff426..8e1a80f7e4980352a9d1e3fe7e89dce7ec540b9e 100644
(file)
--- a/
wizard/BModulePage.py
+++ b/
wizard/BModulePage.py
@@
-219,7
+219,9
@@
class BModulePage(BWizardPage):
"""
Loads the module data.
"""
"""
Loads the module data.
"""
- if not self.project.edit:
+ # Do not load the module data again when the Wizard is in editing mode
+ # or when it's working on a preset.
+ if not self.project.edit and not self.project.from_preset:
# Load the module data every time so that if the user changed the cpu
# the right configurations are picked up.
try:
# Load the module data every time so that if the user changed the cpu
# the right configurations are picked up.
try: