From a5dd7c2f28d8b24372601059fa3885832465866b Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 24 Feb 2009 10:25:15 +0000 Subject: [PATCH] Correct distraction error git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2386 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 a12a82a1..8a1edc1e 100644 --- a/wizard/BToolchainPage.py +++ b/wizard/BToolchainPage.py @@ -45,7 +45,7 @@ class BToolchainPage(BWizardPage): self.pageContent.toolchainList.clear() def _selectionChanged(self): - if self.pageContent.toolchainList.currentIndex != -1: + if self.pageContent.toolchainList.currentRow() != -1: infos = collections.defaultdict(lambda: unicode("not defined")) infos.update(qvariant_converter.getStringDict(self.pageContent.toolchainList.currentItem().data(Qt.UserRole))) self.pageContent.infoLabel.setText("GCC " + infos["version"] + " (" + infos["build"] + ")\nTarget: " + infos["target"] + "\nPath: " + os.path.normpath(infos["path"])) -- 2.25.1