From: duplo Date: Fri, 6 Feb 2009 11:52:05 +0000 (+0000) Subject: Correct a distraction error X-Git-Tag: 2.1.0~391 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=38b2221716fa0f648860e1cec14f819daf8cb031;p=bertos.git Correct a distraction error git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2291 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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)