Correct a distraction error
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 6 Feb 2009 11:52:05 +0000 (11:52 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 6 Feb 2009 11:52:05 +0000 (11:52 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2291 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BModulePage.py

index c44492843fbec92be4eafcacd092fca8ae3102a4..24623ecdb8db89ee57cdb9dcbeb0ddc90cb53e33 100644 (file)
@@ -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)