If more than one valid toolchain are found by the wizard the first of them is selecte...
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 31 May 2010 12:13:54 +0000 (12:13 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 31 May 2010 12:13:54 +0000 (12:13 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3887 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BToolchainPage.py

index 791a2f339d838f23871e527cf781f81bfc0b3751..25fa260f3c67587b2442e2557ea2e091b27dbb22 100644 (file)
@@ -110,7 +110,7 @@ class BToolchainPage(BWizardPage):
         self._clearList()
         self.setupUi()
         self._populateToolchainList()
-        if len(self._valid_items) == 1:
+        if len(self._valid_items) >= 1:
             self.pageContent.toolchainList.setCurrentItem(self._valid_items[0])
 
     ####