From: duplo Date: Mon, 24 May 2010 08:45:55 +0000 (+0000) Subject: Fix also the module issue for projects created from a preset. X-Git-Tag: 2.5.0~125 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=184a11521dee28c34fe2f708760b09f953a71ef6;p=bertos.git 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 --- 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: