From 38b2221716fa0f648860e1cec14f819daf8cb031 Mon Sep 17 00:00:00 2001 From: duplo Date: Fri, 6 Feb 2009 11:52:05 +0000 Subject: [PATCH] Correct a distraction error git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2291 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BModulePage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index c4449284..24623ecd 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -79,7 +79,7 @@ class BModulePage(BWizardPage): self.pageContent.propertyTable.clear() if len(configuration) > 0: configurations = self._projectInfoRetrieve("CONFIGURATIONS")[configuration] - self.pageContent.propertyTable.setRowCount(len(configurations) + 1) + self.pageContent.propertyTable.setRowCount(len(configurations)) for index, property in enumerate(configurations): item = QTableWidgetItem(property) item.setData(Qt.UserRole, qvariant_converter.convertString(property)) @@ -159,6 +159,7 @@ class BModulePage(BWizardPage): def _resetPropertyDescription(self): for index in range(self.pageContent.propertyTable.rowCount()): + print index propertyName = qvariant_converter.getString(self.pageContent.propertyTable.item(index, 0).data(Qt.UserRole)) self.pageContent.propertyTable.item(index, 0).setText(propertyName) -- 2.25.1