From: duplo Date: Mon, 31 May 2010 12:13:54 +0000 (+0000) Subject: If more than one valid toolchain are found by the wizard the first of them is selecte... X-Git-Tag: 2.5.0~30 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=671933e7a46ec563949eb526411024069af48e3c;p=bertos.git If more than one valid toolchain are found by the wizard the first of them is selected automatically. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3887 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BToolchainPage.py b/wizard/BToolchainPage.py index 791a2f33..25fa260f 100644 --- a/wizard/BToolchainPage.py +++ b/wizard/BToolchainPage.py @@ -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]) ####