Fix toolchain reloadPage problem (_valid_items list wasn't cleared properly).
[bertos.git] / 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: