Fix regression.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 20 Apr 2010 07:51:24 +0000 (07:51 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 20 Apr 2010 07:51:24 +0000 (07:51 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3474 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BEditingDialog.py

index 075a739450653cee43375fb056d6ac4bccb86200..10dcd24f0e9e766ec7b420149d85348a447898d2 100644 (file)
@@ -132,9 +132,9 @@ class BEditingDialog(QDialog):
                     qApp.setOverrideCursor(QCursor(Qt.WaitCursor))
                     dialog.version_page.setProjectInfo("SOURCES_PATH", version)
                     dialog.version_page.setProjectInfo("OLD_SOURCES_PATH", current_version)
-                    enabled_modules = bertos_utils.enabledModules(dialog.version_page.project())
+                    enabled_modules = bertos_utils.enabledModules(dialog.version_page.project)
                     old_configuration = dialog.version_page.projectInfo("CONFIGURATIONS")
-                    dialog.version_page.project().loadSourceTree()
+                    dialog.version_page.project.loadSourceTree()
                     QApplication.instance().project.reloadCpuInfo()
                     QApplication.instance().project.loadModuleData()
                     new_configuration = dialog.version_page.projectInfo("CONFIGURATIONS")
@@ -146,7 +146,7 @@ class BEditingDialog(QDialog):
                             configuration = new_configuration[conf]
                         merged_configuration[conf] = configuration
                     dialog.version_page.setProjectInfo("CONFIGURATIONS", merged_configuration)
-                    bertos_utils.setEnabledModules(dialog.version_page.project(), enabled_modules)
+                    bertos_utils.setEnabledModules(dialog.version_page.project, enabled_modules)
                     self.module_page.fillModuleTree()
                 finally:
                     qApp.restoreOverrideCursor()
@@ -157,7 +157,7 @@ class BEditingDialog(QDialog):
     def apply(self):
         try:
             qApp.setOverrideCursor(QCursor(Qt.WaitCursor))
-            createBertosProject(self.module_page.project(), edit=True)
+            createBertosProject(self.module_page.project, edit=True)
         finally:
             qApp.restoreOverrideCursor()
         self.accept()