Remove the possibility to select the description cell of the module table.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 26 May 2010 13:55:05 +0000 (13:55 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 26 May 2010 13:55:05 +0000 (13:55 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3840 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BModulePage.py

index 90493f9a0065835a7cdd39847726f14cdc657c82..1ce7b8592c0ab4af60a213898e6adf26d757007c 100644 (file)
@@ -147,6 +147,7 @@ class BModulePage(BWizardPage):
                     # Set the row count to the current index + 1
                     self.pageContent.propertyTable.setRowCount(index + 1)
                     item = QTableWidgetItem(configurations[property]["brief"])
+                    item.setFlags(Qt.NoItemFlags)
                     item.setToolTip(property)
                     item.setData(Qt.UserRole, qvariant_converter.convertString(property))
                     self.pageContent.propertyTable.setItem(index, 0, item)