From 184a11521dee28c34fe2f708760b09f953a71ef6 Mon Sep 17 00:00:00 2001 From: duplo Date: Mon, 24 May 2010 08:45:55 +0000 Subject: [PATCH] Fix also the module issue for projects created from a preset. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3792 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BModulePage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index c6a8da67..8e1a80f7 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -219,7 +219,9 @@ class BModulePage(BWizardPage): """ 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: -- 2.25.1