From 444fefa6334b41bf994974c36a4426b09323ffc4 Mon Sep 17 00:00:00 2001 From: duplo Date: Fri, 4 Sep 2009 10:35:18 +0000 Subject: [PATCH] Update the property table when filling the module tree git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2878 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BModulePage.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index 8daa8d20..fac4cacd 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -155,7 +155,10 @@ class BModulePage(BWizardPage): if self.pageContent.propertyTable.rowCount() == 0: module_label = self.pageContent.moduleLabel.text() module_label += "\n\nNo configuration needed." - self.pageContent.moduleLabel.setText(module_label) + self.pageContent.moduleLabel.setText(module_label) + else: + self.pageContent.moduleLabel.setText("") + self.pageContent.moduleLabel.setVisible(False) def dependencyCheck(self, item): """ @@ -249,6 +252,7 @@ class BModulePage(BWizardPage): module_item.setCheckState(0, Qt.Unchecked) self.pageContent.moduleTree.addTopLevelItem(item) self.pageContent.moduleTree.sortItems(0, Qt.AscendingOrder) + self.fillPropertyTable() def insertCheckBox(self, index, value): """ -- 2.25.1