Update the CPU information when the user change the BeRTOS version.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 31 Mar 2010 14:44:57 +0000 (14:44 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 31 Mar 2010 14:44:57 +0000 (14:44 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3362 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BEditingDialog.py

index 1bf81fcc6731cb0db420ae8411c6a20d393d7a20..c8f6e7069bfd3959e96c57f893b4dcbf2a8ab93d 100644 (file)
@@ -132,6 +132,7 @@ class BEditingDialog(QDialog):
                     qApp.setOverrideCursor(QCursor(Qt.WaitCursor))
                     dialog.version_page.setProjectInfo("SOURCES_PATH", version)
                     dialog.version_page.setProjectInfo("OLD_SOURCES_PATH", current_version)
+                    QApplication.instance().project.reloadCpuInfo()
                     enabled_modules = bertos_utils.enabledModules(dialog.version_page.project())
                     old_configuration = dialog.version_page.projectInfo("CONFIGURATIONS")
                     dialog.version_page.project().loadSourceTree()