From 671933e7a46ec563949eb526411024069af48e3c Mon Sep 17 00:00:00 2001 From: duplo Date: Mon, 31 May 2010 12:13:54 +0000 Subject: [PATCH] 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 --- wizard/BToolchainPage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) #### -- 2.25.1