Fix toolchain reloadPage problem (_valid_items list wasn't cleared properly).
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 8 Jun 2010 12:45:59 +0000 (12:45 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 8 Jun 2010 12:45:59 +0000 (12:45 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3900 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BToolchainPage.py

index 25fa260f3c67587b2442e2557ea2e091b27dbb22..65505fb4310089f9be3ba307046a19bd50f41fd3 100644 (file)
@@ -180,6 +180,7 @@ class BToolchainPage(BWizardPage):
         Fills the toolchain list with the toolchains stored in the QSettings.
         """
         self.pageContent.toolchainList.clear()
+        self._valid_items = []
         toolchains = self._toolchain_manager.predefined_toolchains + self._toolchain_manager.toolchains
         sel_toolchain = self.projectInfo("TOOLCHAIN")
         for key, value in toolchains: