Fix icons.
[bertos.git] / wizard / BModulePage.py
index c6a8da67c281eb9bbaf9baddf987a112058ff426..8e1a80f7e4980352a9d1e3fe7e89dce7ec540b9e 100644 (file)
@@ -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: